From b696d6c90db5ebb40cd4b9a9d58f2cadd4441267 Mon Sep 17 00:00:00 2001 From: betaboon Date: Fri, 1 Sep 2017 10:22:26 +0200 Subject: [PATCH] pythonPackages.marshmallow: init at 2.13.5 --- .../python-modules/marshmallow/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/marshmallow/default.nix 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";