summary refs log tree commit diff
path: root/pkgs/development/python-modules/testfixtures
diff options
context:
space:
mode:
authorJoerg Thalheim <joerg@thalheim.io>2017-11-07 12:36:48 +0000
committerJoerg Thalheim <joerg@thalheim.io>2017-11-07 13:14:44 +0000
commit3339a7dc7c047c79d71ea58f98cd9817612aa435 (patch)
tree7e75d7edf4b9e982d90d3929441bf9e127df0a16 /pkgs/development/python-modules/testfixtures
parentb9a42797ffe8819132c9593a7b899fffa0bb0cb7 (diff)
downloadnixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.tar
nixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.tar.gz
nixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.tar.bz2
nixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.tar.lz
nixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.tar.xz
nixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.tar.zst
nixpkgs-3339a7dc7c047c79d71ea58f98cd9817612aa435.zip
python.pkgs.textfixtures: 4.5.0 -> 5.3.0
Diffstat (limited to 'pkgs/development/python-modules/testfixtures')
-rw-r--r--pkgs/development/python-modules/testfixtures/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/testfixtures/default.nix b/pkgs/development/python-modules/testfixtures/default.nix
new file mode 100644
index 00000000000..23b5a5aa9e2
--- /dev/null
+++ b/pkgs/development/python-modules/testfixtures/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, mock, manuel, pytest, sybil, zope_component, django }:
+
+buildPythonPackage rec {
+  pname = "testfixtures";
+  version = "5.3.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1xfar653qmikwb94xj3f0xfp8dh2llxjsxipx1272d8qwl0aknnx";
+  };
+
+  checkInputs = [ mock manuel pytest sybil zope_component ];
+
+  checkPhase = ''
+    # django is too much hasle to setup at the moment
+    pytest --ignore=testfixtures/tests/test_django testfixtures/tests
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/Simplistix/testfixtures";
+  };
+}