From f06d7bd1251e69c746761011f21ad849316f550f Mon Sep 17 00:00:00 2001 From: Alex Brandt Date: Wed, 23 Aug 2017 21:43:08 -0500 Subject: [PATCH] pythonPackages.pyhamcrest: init at 1.9.0 --- .../python-modules/pyhamcrest/default.nix | 28 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/python-modules/pyhamcrest/default.nix diff --git a/pkgs/development/python-modules/pyhamcrest/default.nix b/pkgs/development/python-modules/pyhamcrest/default.nix new file mode 100644 index 000000000000..6b1eebd95c44 --- /dev/null +++ b/pkgs/development/python-modules/pyhamcrest/default.nix @@ -0,0 +1,28 @@ +{ stdenv, buildPythonApplication, fetchPypi +, mock, pytest +, six +}: +buildPythonApplication rec { + pname = "PyHamcrest"; + version = "1.9.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"; + }; + + checkInputs = [ mock pytest ]; + propagatedBuildInputs = [ six ]; + + doCheck = false; # pypi tarball does not include tests + + meta = with stdenv.lib; { + homepage = https://github.com/hamcrest/PyHamcrest; + description = "Hamcrest framework for matcher objects"; + license = licenses.bsd3; + maintainers = with maintainers; [ + alunduil + ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 40afe46c3b71..ded6e0ff4c68 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -27574,6 +27574,8 @@ EOF thinc = callPackage ../development/python-modules/thinc { }; spacy = callPackage ../development/python-modules/spacy { }; + + pyhamcrest = callPackage ../development/python-modules/pyhamcrest { }; parse = callPackage ../development/python-modules/parse { }; });