summary refs log tree commit diff
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-12-21 01:10:14 +0000
committerGitHub <noreply@github.com>2017-12-21 01:10:14 +0000
commitc2b8cf0391519798a50eec37efff28626dd4bec0 (patch)
tree859e607df5f598a684963797a386668c590193f4
parente17e2bcbf5e7b6ad8a1cb863588bbfbe0690f6ba (diff)
parentdd853e846cc8b8b84407489ef36e806101c6e85c (diff)
downloadnixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.tar
nixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.tar.gz
nixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.tar.bz2
nixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.tar.lz
nixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.tar.xz
nixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.tar.zst
nixlib-c2b8cf0391519798a50eec37efff28626dd4bec0.zip
Merge pull request #32902 from lsix/update_pytestquickcheck
pythonPackages.pytest-quickcheck: 0.8.2 -> 0.8.3
-rw-r--r--pkgs/development/python-modules/pytest-quickcheck/default.nix20
-rw-r--r--pkgs/top-level/python-packages.nix18
2 files changed, 21 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/pytest-quickcheck/default.nix b/pkgs/development/python-modules/pytest-quickcheck/default.nix
new file mode 100644
index 000000000000..6e8742ec2b8e
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-quickcheck/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestflakes, pytestpep8, tox }:
+buildPythonPackage rec {
+  pname = "pytest-quickcheck";
+  version = "0.8.3";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "17vly6fg0s95lbg620g9dp9jjf12sj4hpbi7cg579kswabl6304g";
+  };
+
+  buildInputs = [ pytest ];
+  propagatedBuildInputs = [ pytestflakes pytestpep8 tox ];
+
+  meta = with stdenv.lib; {
+    license = licenses.asl20;
+    homepage = "https://pypi.python.org/pypi/pytest-quickcheck";
+    description = "pytest plugin to generate random data inspired by QuickCheck";
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index b1a8fca5c439..2be346a6ab6b 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -3671,23 +3671,7 @@ in {
     doCheck = false;
   };
 
-  pytestquickcheck = buildPythonPackage rec {
-    name = "pytest-quickcheck-0.8.2";
-
-    src = pkgs.fetchurl {
-      url = "mirror://pypi/p/pytest-quickcheck/pytest-quickcheck-0.8.2.tar.gz";
-      sha256 = "047w4zwdsnlzmsc5f3rapzbzd2frlvz9nnp8v4b48fjmqmxassh3";
-    };
-
-    buildInputs = with self; [ pytest ];
-    propagatedBuildInputs = with self; [ pytestflakes pytestpep8 tox ];
-
-    meta = {
-      license = licenses.asl20;
-      homepage = "https://pypi.python.org/pypi/pytest-quickcheck";
-      description = "pytest plugin to generate random data inspired by QuickCheck";
-    };
-  };
+  pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
 
   pytest-server-fixtures = buildPythonPackage rec {
     name = "${pname}-${version}";