diff options
author | Lancelot SIX <lsix@lancelotsix.com> | 2017-12-20 17:30:09 +0100 |
---|---|---|
committer | Lancelot SIX <lsix@lancelotsix.com> | 2017-12-20 17:30:09 +0100 |
commit | dd853e846cc8b8b84407489ef36e806101c6e85c (patch) | |
tree | 40da0bd7830ae785ebf0dd2feda039aa49a68b0c /pkgs | |
parent | 298f404aeb1da8eec11686449b7248c99971fafe (diff) | |
download | nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.tar nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.tar.gz nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.tar.bz2 nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.tar.lz nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.tar.xz nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.tar.zst nixlib-dd853e846cc8b8b84407489ef36e806101c6e85c.zip |
pythonPackages.pytest-quickcheck: 0.8.2 -> 0.8.3
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pytest-quickcheck/default.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 18 |
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 68f38af309cd..71d825b19043 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3674,23 +3674,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}"; |