From 7e7f91d23abc690753b834cac4119841cbfa60ee Mon Sep 17 00:00:00 2001 From: betaboon Date: Fri, 1 Sep 2017 10:33:30 +0200 Subject: [PATCH] pythonPackages.serpy: init at 0.1.1 --- .../python-modules/serpy/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/serpy/default.nix diff --git a/pkgs/development/python-modules/serpy/default.nix b/pkgs/development/python-modules/serpy/default.nix new file mode 100644 index 000000000000..e2ecbdcb67ae --- /dev/null +++ b/pkgs/development/python-modules/serpy/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchPypi, + flake8, py, pyflakes, six, tox +}: + +buildPythonPackage rec { + pname = "serpy"; + name = "${pname}-${version}"; + version = "0.1.1"; + + meta = { + description = "ridiculously fast object serialization"; + homepage = https://github.com/clarkduvall/serpy; + license = lib.licenses.mit; + }; + + src = fetchPypi { + inherit pname version; + sha256 = "0r9wn99x9nbqxfancnq9jh3cn83i1b6gc79xj0ipnxixp661yj5i"; + }; + + buildInputs = [ flake8 py pyflakes tox ]; + propagatedBuildInputs = [ six ]; + + # ImportError: No module named 'tests + doCheck = false; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 03db39d94efd..49c1d9339769 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20206,6 +20206,8 @@ in { ''; }; + serpy = callPackage ../development/python-modules/serpy { }; + setuptools_scm = callPackage ../development/python-modules/setuptools_scm { }; setuptoolsDarcs = buildPythonPackage rec {