mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
python3Packages.timecop: init at 0.5.0dev
This commit is contained in:
parent
222c332c19
commit
bc17a53990
23
pkgs/development/python-modules/timecop/default.nix
Normal file
23
pkgs/development/python-modules/timecop/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "timecop";
|
||||
version = "0.5.0dev";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zbi58sw2yp1qchzfhyi7bsrwxajiypphg65fir98kvj03g011wd";
|
||||
};
|
||||
|
||||
# test_epoch fails, see https://github.com/bluekelp/pytimecop/issues/4
|
||||
preCheck = ''
|
||||
sed -i 's/test_epoch/_test_epoch/' timecop/tests/test_freeze.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A port of the most excellent TimeCop Ruby Gem for Python";
|
||||
homepage = "https://github.com/bluekelp/pytimecop";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ zakame ];
|
||||
};
|
||||
}
|
@ -9104,6 +9104,8 @@ in {
|
||||
|
||||
timeago = callPackage ../development/python-modules/timeago { };
|
||||
|
||||
timecop = callPackage ../development/python-modules/timecop { };
|
||||
|
||||
timelib = callPackage ../development/python-modules/timelib { };
|
||||
|
||||
time-machine = callPackage ../development/python-modules/time-machine { };
|
||||
|
Loading…
Reference in New Issue
Block a user