diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 14:24:47 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 14:25:08 +0200 |
commit | 6b999f3c42607342231b6fe119fcf0f934f40fd8 (patch) | |
tree | aff659b5d13c322236b7b46154450864f5061520 /pkgs/development/python-modules/hypothesis.nix | |
parent | 4cbd5e4141422b835a86bb1b5e2d004a3c9a3a3e (diff) | |
download | nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.tar nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.tar.gz nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.tar.bz2 nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.tar.lz nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.tar.xz nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.tar.zst nixlib-6b999f3c42607342231b6fe119fcf0f934f40fd8.zip |
Python: many package updates
Did not test all packages. Likely we'll have some breakage.
Diffstat (limited to 'pkgs/development/python-modules/hypothesis.nix')
-rw-r--r-- | pkgs/development/python-modules/hypothesis.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/hypothesis.nix b/pkgs/development/python-modules/hypothesis.nix index 29829c918921..0927c703fbfd 100644 --- a/pkgs/development/python-modules/hypothesis.nix +++ b/pkgs/development/python-modules/hypothesis.nix @@ -9,26 +9,26 @@ buildPythonPackage rec { # pytz fake_factory django numpy pytest # If you need these, you can just add them to your environment. - version = "3.7.0"; + version = "3.11.0"; pname = "hypothesis"; name = "${pname}-${version}"; # Upstream prefers github tarballs src = fetchFromGitHub { owner = "HypothesisWorks"; - repo = "hypothesis"; + repo = "hypothesis-python"; rev = "${version}"; - sha256 = "1zsv1ggf3g9rrigxl3zd1z8qc6fcj8lmszm8ib1ya4ar6r64x0yz"; + sha256 = "1s911pd3y9hvk0hq2fr6i68dqv1ciagryhgp13wgyfqh8hz8j6zv"; }; - buildInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ]; + checkInputs = stdenv.lib.optionals doCheck [ pytest flake8 flaky ]; propagatedBuildInputs = stdenv.lib.optionals (pythonOlder "3.4") [ enum34 ]; inherit doCheck; # https://github.com/DRMacIver/hypothesis/issues/300 checkPhase = '' - ${python.interpreter} -m pytest tests/cover + py.test tests/cover ''; # Unsupport by upstream on certain versions |