diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-01-31 09:30:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 09:30:21 +0100 |
commit | d98e25624f6b5876a54712cc8028aa5769d531eb (patch) | |
tree | a181691250edcb8c1058de5428dca19ae344e90a /pkgs/development/python-modules/freezegun | |
parent | f92395cf3c51f3cbd60be22576160e1872bfddf9 (diff) | |
parent | 6ab446cf9ed3c18212712e2998b57725f64cae9a (diff) |
Merge pull request #110474 from dotlambda/virtualenv-20.3.1
[staging] pythonPackages.virtualenv: 20.2.1 -> 20.3.1
Diffstat (limited to 'pkgs/development/python-modules/freezegun')
-rw-r--r-- | pkgs/development/python-modules/freezegun/0.3.nix | 6 | ||||
-rw-r--r-- | pkgs/development/python-modules/freezegun/default.nix | 16 |
2 files changed, 7 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/freezegun/0.3.nix b/pkgs/development/python-modules/freezegun/0.3.nix index 09ce8bbd11b14..a83a432d89dc5 100644 --- a/pkgs/development/python-modules/freezegun/0.3.nix +++ b/pkgs/development/python-modules/freezegun/0.3.nix @@ -11,17 +11,15 @@ buildPythonPackage rec { pname = "freezegun"; - version = "0.3.5"; + version = "0.3.15"; src = fetchPypi { inherit pname version; - sha256 = "02ly89wwn0plcw8clkkzvxaw6zlpm8qyqpm9x2mfw4a0vppb4ngf"; + sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b"; }; propagatedBuildInputs = [ dateutil six ]; checkInputs = [ mock nose pytest ]; - # contains python3 specific code - doCheck = !isPy27; meta = with lib; { description = "FreezeGun: Let your Python tests travel through time"; diff --git a/pkgs/development/python-modules/freezegun/default.nix b/pkgs/development/python-modules/freezegun/default.nix index 4c5a87e8266b2..00d03435de9df 100644 --- a/pkgs/development/python-modules/freezegun/default.nix +++ b/pkgs/development/python-modules/freezegun/default.nix @@ -2,28 +2,22 @@ , buildPythonPackage , pythonOlder , fetchPypi -, isPy27 , dateutil -, six -, mock -, nose -, pytest +, pytestCheckHook }: buildPythonPackage rec { pname = "freezegun"; - version = "1.0.0"; + version = "1.1.0"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "1cf08e441f913ff5e59b19cc065a8faa9dd1ddc442eaf0375294f344581a0643"; + sha256 = "177f9dd59861d871e27a484c3332f35a6e3f5d14626f2bf91be37891f18927f3"; }; - propagatedBuildInputs = [ dateutil six ]; - checkInputs = [ mock nose pytest ]; - # contains python3 specific code - doCheck = !isPy27; + propagatedBuildInputs = [ dateutil ]; + checkInputs = [ pytestCheckHook ]; meta = with lib; { description = "FreezeGun: Let your Python tests travel through time"; |