Merge pull request #93817 from albakham/pkg/sublime-music

This commit is contained in:
Jan Tojnar
2020-07-25 23:40:15 +02:00
committed by GitHub
5 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, stringcase
, typing-inspect
, marshmallow-enum
}:
buildPythonPackage rec {
pname = "dataclasses-json";
version = "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "0nkgp4pd7j7ydrciiix4x0w56l5w6qvj2vgxpwj42h4f2wdv2f3f";
};
propagatedBuildInputs = [
stringcase
typing-inspect
marshmallow-enum
];
meta = with lib; {
description = "Simple API for encoding and decoding dataclasses to and from JSON";
homepage = "https://github.com/lidatong/dataclasses-json";
license = licenses.mit;
maintainers = with maintainers; [ albakham ];
};
}

View File

@@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, typing-extensions
, mypy-extensions
}:
buildPythonPackage rec {
pname = "typing-inspect";
version = "0.6.0";
src = fetchPypi {
inherit version;
pname = "typing_inspect";
sha256 = "1dzs9a1pr23dhbvmnvms2jv7l7jk26023g5ysf0zvnq8b791s6wg";
};
propagatedBuildInputs = [
typing-extensions
mypy-extensions
];
meta = with lib; {
description = "Runtime inspection utilities for Python typing module";
homepage = "https://github.com/ilevkivskyi/typing_inspect";
license = licenses.mit;
maintainers = with maintainers; [ albakham ];
};
}