summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyhamcrest
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@alunduil.com>2017-08-23 21:43:08 -0500
committerFrederik Rietdijk <fridh@fridh.nl>2017-09-07 09:28:03 +0200
commitf06d7bd1251e69c746761011f21ad849316f550f (patch)
tree0d44362657a3d6b81652e304b1e9d788409180f8 /pkgs/development/python-modules/pyhamcrest
parent4934a4d553843c1fb2bef1fb9075c0e7d86d455c (diff)
downloadnixlib-f06d7bd1251e69c746761011f21ad849316f550f.tar
nixlib-f06d7bd1251e69c746761011f21ad849316f550f.tar.gz
nixlib-f06d7bd1251e69c746761011f21ad849316f550f.tar.bz2
nixlib-f06d7bd1251e69c746761011f21ad849316f550f.tar.lz
nixlib-f06d7bd1251e69c746761011f21ad849316f550f.tar.xz
nixlib-f06d7bd1251e69c746761011f21ad849316f550f.tar.zst
nixlib-f06d7bd1251e69c746761011f21ad849316f550f.zip
pythonPackages.pyhamcrest: init at 1.9.0
Diffstat (limited to 'pkgs/development/python-modules/pyhamcrest')
-rw-r--r--pkgs/development/python-modules/pyhamcrest/default.nix28
1 files changed, 28 insertions, 0 deletions
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
+    ];
+  };
+}