diff --git a/pkgs/development/python-modules/humanize/default.nix b/pkgs/development/python-modules/humanize/default.nix index b6f78e5cf8f..94cef6d07f1 100644 --- a/pkgs/development/python-modules/humanize/default.nix +++ b/pkgs/development/python-modules/humanize/default.nix @@ -2,8 +2,10 @@ , buildPythonPackage , fetchPypi , isPy27 -, mock , setuptools_scm +, setuptools +, pytestCheckHook +, freezegun }: buildPythonPackage rec { @@ -17,16 +19,14 @@ buildPythonPackage rec { }; nativeBuildInputs = [ setuptools_scm ]; - checkInputs = [ mock ]; - - doCheck = false; + propagatedBuildInputs = [ setuptools ]; + checkInputs = [ pytestCheckHook freezegun ]; meta = with lib; { description = "Python humanize utilities"; homepage = "https://github.com/jmoiron/humanize"; license = licenses.mit; - maintainers = with maintainers; [ ]; - platforms = platforms.unix; + maintainers = with maintainers; [ rmcgibbo ]; }; }