git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.datrie: fix build
commit0854ae65717eaa3b16102cb94ba9ee85610a3c25 authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateWed 10 Apr 2019, 14:16 (8 years ago) parentd5cc30b
1 file changed+9−1
pkgs/development/python-modules/datrie/default.nix+9−1
pkgs/development/python-modules/datrie/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi
1+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
22, cython, pytest, pytestrunner, hypothesis }:
33
44buildPythonPackage rec {
@@ -10,6 +10,14 @@ buildPythonPackage rec {
1010 sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
1111 };
1212
13+ patches = [
14+ # fix tests against recent hypothesis
15+ (fetchpatch {
16+ url = "https://github.com/pytries/datrie/commit/9b24b4c02783cdb703ac3f6c6d7d881db93166e0.diff";
17+ sha256 = "1ql7jcf57q3x3fcbddl26y9kmnbnj2dv6ga8mwq94l4a3213j2iy";
18+ })
19+ ];
20+
1321 nativeBuildInputs = [ cython ];
1422 buildInputs = [ pytest pytestrunner hypothesis ];
1523