diff --git a/pkgs/development/python-modules/flask-marshmallow/default.nix b/pkgs/development/python-modules/flask-marshmallow/default.nix new file mode 100644 index 000000000000..078b23869756 --- /dev/null +++ b/pkgs/development/python-modules/flask-marshmallow/default.nix @@ -0,0 +1,25 @@ +{ lib, buildPythonPackage, fetchPypi, + flask, six, marshmallow +}: + +buildPythonPackage rec { + pname = "flask-marshmallow"; + name = "${pname}-${version}"; + version = "0.8.0"; + + meta = { + homepage = "https://github.com/marshmallow-code/flask-marshmallow"; + description = "Flask + marshmallow for beautiful APIs"; + license = lib.licenses.mit; + }; + + src = fetchPypi { + inherit pname version; + sha256 = "1fa6xgxrn9bbc2pazbg46iw3ykvpcwib5b5s46qn59ndwj77lifi"; + }; + + propagatedBuildInputs = [ flask marshmallow ]; + buildInputs = [ six ]; + + doCheck = false; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 595efffd0451..87a530973f0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9472,6 +9472,8 @@ in { flask_mail = callPackage ../development/python-modules/flask-mail { }; + flask_marshmallow = callPackage ../development/python-modules/flask-marshmallow { }; + flask_migrate = callPackage ../development/python-modules/flask-migrate { }; flask_oauthlib = callPackage ../development/python-modules/flask-oauthlib.nix { };