summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorPascal Wittmann <mail@pascal-wittmann.de>2019-04-11 14:41:26 +0200
committerGitHub <noreply@github.com>2019-04-11 14:41:26 +0200
commit391e47406220ce825c11e7539ff30389164ef3c0 (patch)
tree153cc7ede36fd128e6ea3c0238fe920eb3a35bbe /pkgs/development/python-modules
parentaea1ebd1862a4c3405e7c5a0bed8669a6407c096 (diff)
parentc321b64b3fcbc34b0037a57ce693d43fe0dfc388 (diff)
downloadnixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.tar
nixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.tar.gz
nixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.tar.bz2
nixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.tar.lz
nixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.tar.xz
nixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.tar.zst
nixpkgs-391e47406220ce825c11e7539ff30389164ef3c0.zip
Merge pull request #59273 from veprbl/pr/snakemake_5.4.4
 snakemake: 5.2.2 -> 5.4.4
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/datrie/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/datrie/default.nix b/pkgs/development/python-modules/datrie/default.nix
index eb654c65077..7cb30937e0d 100644
--- a/pkgs/development/python-modules/datrie/default.nix
+++ b/pkgs/development/python-modules/datrie/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildPythonPackage, fetchPypi
+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
 , cython, pytest, pytestrunner, hypothesis }:
 
 buildPythonPackage rec {
@@ -10,6 +10,14 @@ buildPythonPackage rec {
     sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
   };
 
+  patches = [
+    # fix tests against recent hypothesis
+    (fetchpatch {
+      url = "https://github.com/pytries/datrie/commit/9b24b4c02783cdb703ac3f6c6d7d881db93166e0.diff";
+      sha256 = "1ql7jcf57q3x3fcbddl26y9kmnbnj2dv6ga8mwq94l4a3213j2iy";
+    })
+  ];
+
   nativeBuildInputs = [ cython ];
   buildInputs = [ pytest pytestrunner hypothesis ];