diff options
Diffstat (limited to 'pkgs/development/python-modules/isodate/default.nix')
-rw-r--r-- | pkgs/development/python-modules/isodate/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/isodate/default.nix b/pkgs/development/python-modules/isodate/default.nix index 21bcc3ed90a3d..ba507f168dbfd 100644 --- a/pkgs/development/python-modules/isodate/default.nix +++ b/pkgs/development/python-modules/isodate/default.nix @@ -1,7 +1,7 @@ { lib , buildPythonPackage , fetchPypi -, python +, unittestCheckHook , six }: @@ -16,9 +16,9 @@ buildPythonPackage rec { propagatedBuildInputs = [ six ]; - checkPhase = '' - ${python.interpreter} -m unittest discover -s src/isodate/tests - ''; + checkInputs = [ unittestCheckHook ]; + + unittestFlagsArray = [ "-s" "src/isodate/tests" ]; meta = with lib; { description = "ISO 8601 date/time parser"; |