lol

Merge pull request #141524 from zakame/contrib/python3-timecop

python3Packages.timecop: init at 0.5.0dev

authored by

Ryan Burns and committed by
GitHub
a8a57d62 c88983ce

+25
+23
pkgs/development/python-modules/timecop/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi }: 2 + 3 + buildPythonPackage rec { 4 + pname = "timecop"; 5 + version = "0.5.0dev"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "0zbi58sw2yp1qchzfhyi7bsrwxajiypphg65fir98kvj03g011wd"; 10 + }; 11 + 12 + # test_epoch fails, see https://github.com/bluekelp/pytimecop/issues/4 13 + preCheck = '' 14 + sed -i 's/test_epoch/_test_epoch/' timecop/tests/test_freeze.py 15 + ''; 16 + 17 + meta = with lib; { 18 + description = "A port of the most excellent TimeCop Ruby Gem for Python"; 19 + homepage = "https://github.com/bluekelp/pytimecop"; 20 + license = licenses.gpl3Plus; 21 + maintainers = with maintainers; [ zakame ]; 22 + }; 23 + }
+2
pkgs/top-level/python-packages.nix
··· 9104 9104 9105 9105 timeago = callPackage ../development/python-modules/timeago { }; 9106 9106 9107 + timecop = callPackage ../development/python-modules/timecop { }; 9108 + 9107 9109 timelib = callPackage ../development/python-modules/timelib { }; 9108 9110 9109 9111 time-machine = callPackage ../development/python-modules/time-machine { };