diff --git a/pkgs/development/python-modules/python-crfsuite/default.nix b/pkgs/development/python-modules/python-crfsuite/default.nix index 5debefcbb3973..ae56a4e20418c 100644 --- a/pkgs/development/python-modules/python-crfsuite/default.nix +++ b/pkgs/development/python-modules/python-crfsuite/default.nix @@ -3,16 +3,18 @@ buildPythonPackage, fetchPypi, pytestCheckHook, + cython, }: buildPythonPackage rec { pname = "python-crfsuite"; - version = "0.9.10"; + version = "0.9.11"; format = "setuptools"; src = fetchPypi { - inherit pname version; - hash = "sha256-84UkYx4rUzNB8Q8sd2iScNxuzVmFSV3M96o3sQRbwuU="; + inherit version; + pname = "python_crfsuite"; + hash = "sha256-bv+WXKcFZzltgiyaNep0sPftsn2UcVJJl72r56baX1o="; }; preCheck = '' @@ -20,6 +22,10 @@ buildPythonPackage rec { rm -r pycrfsuite ''; + build-system = [ + cython + ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pycrfsuite" ];