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