diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/datrie/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/datrie/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/datrie/default.nix b/nixpkgs/pkgs/development/python-modules/datrie/default.nix index 414474af6ccb..73f4764d742d 100644 --- a/nixpkgs/pkgs/development/python-modules/datrie/default.nix +++ b/nixpkgs/pkgs/development/python-modules/datrie/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , setuptools +, wheel , cython , pytestCheckHook , hypothesis @@ -17,17 +18,20 @@ buildPythonPackage rec { hash = "sha256-UlsI9jjVz2EV32zNgY5aASmM0jCy2skcj/LmSZ0Ydl0="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace '"pytest-runner", ' "" + ''; + nativeBuildInputs = [ setuptools + wheel cython ]; nativeCheckInputs = [ - pytestCheckHook - ]; - - checkInputs = [ hypothesis + pytestCheckHook ]; pythonImportsCheck = [ "datrie" ]; |