diff options
| author | Winter <winter@winter.cafe> | 2022-08-06 12:32:04 -0400 |
|---|---|---|
| committer | Winter <winter@winter.cafe> | 2022-08-13 14:09:43 -0400 |
| commit | 19adc3341cf3adfdbd408646aedbf8e62ce3eece (patch) | |
| tree | eee99752039b7cba720978e962c0f3ee1685ebf4 /pkgs/development/python-modules/python-snappy | |
| parent | e8fbb38a51380fe6e56351b5750dddcccff79c4c (diff) | |
treewide: migrate to pythonPackages.unittestCheckHook
Diffstat (limited to 'pkgs/development/python-modules/python-snappy')
| -rw-r--r-- | pkgs/development/python-modules/python-snappy/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/python-snappy/default.nix b/pkgs/development/python-modules/python-snappy/default.nix index 397fcaa3dd0d..d75c80d5e415 100644 --- a/pkgs/development/python-modules/python-snappy/default.nix +++ b/pkgs/development/python-modules/python-snappy/default.nix @@ -4,7 +4,7 @@ , isPyPy , snappy , cffi -, python +, unittestCheckHook }: buildPythonPackage rec { @@ -21,11 +21,7 @@ buildPythonPackage rec { propagatedBuildInputs = lib.optional isPyPy cffi; - checkPhase = '' - runHook preCheck - ${python.interpreter} -m unittest discover - runHook postCheck - ''; + checkInputs = [ unittestCheckHook ]; meta = with lib; { description = "Python library for the snappy compression library from Google"; |
