Merge pull request #165504 from fabaff/bump-freezegun

python3Packages.freezegun: 1.1.0 -> 1.2.1

authored by Fabian Affolter and committed by GitHub 74edd0a8 f0248f96

+21 -10
+21 -10
pkgs/development/python-modules/freezegun/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , pythonOlder 4 - , pythonAtLeast 5 , fetchpatch 6 , fetchPypi 7 - , python-dateutil 8 , pytestCheckHook 9 }: 10 11 buildPythonPackage rec { 12 pname = "freezegun"; 13 - version = "1.1.0"; 14 - disabled = pythonOlder "3.5"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "177f9dd59861d871e27a484c3332f35a6e3f5d14626f2bf91be37891f18927f3"; 19 }; 20 21 patches = lib.optionals (pythonAtLeast "3.10") [ ··· 26 }) 27 ]; 28 29 - propagatedBuildInputs = [ python-dateutil ]; 30 - checkInputs = [ pytestCheckHook ]; 31 32 meta = with lib; { 33 - description = "FreezeGun: Let your Python tests travel through time"; 34 homepage = "https://github.com/spulec/freezegun"; 35 license = licenses.asl20; 36 }; 37 - 38 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchpatch 4 , fetchPypi 5 , pytestCheckHook 6 + , python-dateutil 7 + , pythonAtLeast 8 + , pythonOlder 9 }: 10 11 buildPythonPackage rec { 12 pname = "freezegun"; 13 + version = "1.2.1"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-tMZO+ydea8aNxudxsX/+D/D5C4GipRiQQ1ULZRmSa6Q="; 21 }; 22 23 patches = lib.optionals (pythonAtLeast "3.10") [ ··· 28 }) 29 ]; 30 31 + propagatedBuildInputs = [ 32 + python-dateutil 33 + ]; 34 + 35 + checkInputs = [ 36 + pytestCheckHook 37 + ]; 38 + 39 + pythonImportsCheck = [ 40 + "freezegun" 41 + ]; 42 43 meta = with lib; { 44 + description = "Library that allows your Python tests to travel through time"; 45 homepage = "https://github.com/spulec/freezegun"; 46 license = licenses.asl20; 47 + maintainers = with maintainers; [ fab ]; 48 }; 49 }