python39Packages.marisa-trie: fix

We need to run cython ourselves.
This commit is contained in:
Robert Schütz 2021-03-11 14:37:01 +01:00
parent ee9b92ddf8
commit c67fbae46a

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 ];