python3Packages.dataclasses-json: init at 0.5.1
This commit is contained in:
parent
d3fdd46b26
commit
3dd951c50e
30
pkgs/development/python-modules/dataclasses-json/default.nix
Normal file
30
pkgs/development/python-modules/dataclasses-json/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2132,6 +2132,8 @@ in {
|
|||||||
|
|
||||||
dataclasses = callPackage ../development/python-modules/dataclasses { };
|
dataclasses = callPackage ../development/python-modules/dataclasses { };
|
||||||
|
|
||||||
|
dataclasses-json = callPackage ../development/python-modules/dataclasses-json { };
|
||||||
|
|
||||||
debian = callPackage ../development/python-modules/debian {};
|
debian = callPackage ../development/python-modules/debian {};
|
||||||
|
|
||||||
defusedxml = callPackage ../development/python-modules/defusedxml {};
|
defusedxml = callPackage ../development/python-modules/defusedxml {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user