pythonPackages.datrie: fix build
This commit is contained in:
parent
d5cc30b721
commit
0854ae6571
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
|
||||||
, cython, pytest, pytestrunner, hypothesis }:
|
, cython, pytest, pytestrunner, hypothesis }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -10,6 +10,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
|
sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix tests against recent hypothesis
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/pytries/datrie/commit/9b24b4c02783cdb703ac3f6c6d7d881db93166e0.diff";
|
||||||
|
sha256 = "1ql7jcf57q3x3fcbddl26y9kmnbnj2dv6ga8mwq94l4a3213j2iy";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cython ];
|
nativeBuildInputs = [ cython ];
|
||||||
buildInputs = [ pytest pytestrunner hypothesis ];
|
buildInputs = [ pytest pytestrunner hypothesis ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user