summary refs log tree commit diff
path: root/pkgs/development/python-modules/hypothesis/default.nix
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2018-07-19 17:36:05 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-07-22 16:52:33 +0200
commit40887a6dc63568746068344550193a342219d73f (patch)
tree6370c5741481a15b7f4acb812729e0fde31772b3 /pkgs/development/python-modules/hypothesis/default.nix
parentfb7b8948f4c2551cdfbac23cbe92a6f1ba5d5b36 (diff)
downloadnixpkgs-40887a6dc63568746068344550193a342219d73f.tar
nixpkgs-40887a6dc63568746068344550193a342219d73f.tar.gz
nixpkgs-40887a6dc63568746068344550193a342219d73f.tar.bz2
nixpkgs-40887a6dc63568746068344550193a342219d73f.tar.lz
nixpkgs-40887a6dc63568746068344550193a342219d73f.tar.xz
nixpkgs-40887a6dc63568746068344550193a342219d73f.tar.zst
nixpkgs-40887a6dc63568746068344550193a342219d73f.zip
pipenv: 2018.5.18 -> 2018.7.1
Signed-off-by: Domen Kožar <domen@dev.si>
Diffstat (limited to 'pkgs/development/python-modules/hypothesis/default.nix')
-rw-r--r--pkgs/development/python-modules/hypothesis/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix
index 6701c5a5b7e..5694ea92405 100644
--- a/pkgs/development/python-modules/hypothesis/default.nix
+++ b/pkgs/development/python-modules/hypothesis/default.nix
@@ -9,23 +9,24 @@ buildPythonPackage rec {
   # pytz fake_factory django numpy pytest
   # If you need these, you can just add them to your environment.
 
-  version = "3.45.2";
+  version = "3.66.2";
   pname = "hypothesis";
 
-  # Upstream prefers github tarballs
+  # Use github tarballs that includes tests
   src = fetchFromGitHub {
     owner = "HypothesisWorks";
     repo = "hypothesis-python";
-    rev = version;
-    sha256 = "063sn5m1966gvm3wrlxczdq4vw0r94h3nd9xpr94qxahpg2r4bpb";
+    rev = "hypothesis-python-${version}";
+    sha256 = "17ywbwa76z7f0pgash0003fvm25fsj7hxdrdiprdbv99y3i8bm88";
   };
 
+  postUnpack = "sourceRoot=$sourceRoot/hypothesis-python";
+
   propagatedBuildInputs = [ attrs coverage ] ++ lib.optional (!isPy3k) [ enum34 ];
 
   checkInputs = [ pytest pytest_xdist flaky mock ];
   inherit doCheck;
 
-  # https://github.com/DRMacIver/hypothesis/issues/300
   checkPhase = ''
     rm tox.ini # This file changes how py.test runs and breaks it
     py.test tests/cover