python3Packages.dataclasses-json: init at 0.5.1

This commit is contained in:
albakham 2020-07-25 19:31:44 +04:00
parent d3fdd46b26
commit 3dd951c50e
No known key found for this signature in database
GPG Key ID: 6CE390277A579221
2 changed files with 32 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

@ -2132,6 +2132,8 @@ in {
dataclasses = callPackage ../development/python-modules/dataclasses { };
dataclasses-json = callPackage ../development/python-modules/dataclasses-json { };
debian = callPackage ../development/python-modules/debian {};
defusedxml = callPackage ../development/python-modules/defusedxml {};