at 22.05-pre 28 lines 601 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, python-dateutil 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "freezegun"; 11 version = "1.1.0"; 12 disabled = pythonOlder "3.5"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "177f9dd59861d871e27a484c3332f35a6e3f5d14626f2bf91be37891f18927f3"; 17 }; 18 19 propagatedBuildInputs = [ python-dateutil ]; 20 checkInputs = [ pytestCheckHook ]; 21 22 meta = with lib; { 23 description = "FreezeGun: Let your Python tests travel through time"; 24 homepage = "https://github.com/spulec/freezegun"; 25 license = licenses.asl20; 26 }; 27 28}