diff --git a/pkgs/development/python-modules/marshmallow/default.nix b/pkgs/development/python-modules/marshmallow/default.nix new file mode 100644 index 000000000000..17325d3204d0 --- /dev/null +++ b/pkgs/development/python-modules/marshmallow/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchPypi, + dateutil, simplejson +}: + +buildPythonPackage rec { + pname = "marshmallow"; + name = "${pname}-${version}"; + version = "2.13.5"; + + meta = { + homepage = "https://github.com/marshmallow-code/marshmallow"; + description = '' + A lightweight library for converting complex objects to and from + simple Python datatypes. + ''; + license = lib.licenses.mit; + }; + + src = fetchPypi { + inherit pname version; + sha256 = "048rzdkvnais51xdiy27nail5vxjb4ggw3vd60prn1q11lf16wig"; + }; + + propagatedBuildInputs = [ dateutil simplejson ]; + + doCheck = false; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 87a530973f0e..7f5e5af363a9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11907,6 +11907,8 @@ in { }; }; + marshmallow = callPackage ../development/python-modules/marshmallow { }; + manuel = buildPythonPackage rec { name = "manuel-${version}"; version = "1.8.0";