diff options
Diffstat (limited to 'pkgs/development/python-modules/nix-prefetch-github/default.nix')
-rw-r--r-- | pkgs/development/python-modules/nix-prefetch-github/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/nix-prefetch-github/default.nix b/pkgs/development/python-modules/nix-prefetch-github/default.nix index 7ef63348dfb3a..d6cc74190852e 100644 --- a/pkgs/development/python-modules/nix-prefetch-github/default.nix +++ b/pkgs/development/python-modules/nix-prefetch-github/default.nix @@ -4,6 +4,7 @@ , git , which , pythonOlder +, unittestCheckHook }: buildPythonPackage rec { @@ -19,11 +20,8 @@ buildPythonPackage rec { sha256 = "GHUH3Oog800qrdgXs5AEa4O6ovZ1LT0k3P4YwEHfwlY="; }; - checkInputs = [ git which ]; + checkInputs = [ unittestCheckHook git which ]; - checkPhase = '' - python -m unittest discover - ''; # ignore tests which are impure DISABLED_TESTS = "network requires_nix_build"; |