Merge pull request #115932 from dotlambda/marisa-trie-cython

python39Packages.marisa-trie: fix
This commit is contained in:
Sandro 2021-03-11 21:36:18 +01:00 committed by GitHub
commit fde0082ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, cython
, pytestrunner , pytestrunner
, pytest , pytest
, hypothesis , hypothesis
@ -20,7 +21,11 @@ buildPythonPackage rec {
--replace "hypothesis==" "hypothesis>=" --replace "hypothesis==" "hypothesis>="
''; '';
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ cython pytestrunner ];
preBuild = ''
./update_cpp.sh
'';
checkInputs = [ pytest hypothesis ]; checkInputs = [ pytest hypothesis ];