python3Packages.timeago: init at 1.0.15
This commit is contained in:
parent
ed8f7c60cd
commit
dd1ca470db
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "timeago";
|
||||
version = "1.0.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hustcc";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "03vm7c02l4g2d1x33w382i1psk8i3an7xchk69yinha33fjj1cag";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "test/testcase.py" ];
|
||||
|
||||
pythonImportsCheck = [ "timeago" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to format past datetime output";
|
||||
homepage = "https://github.com/hustcc/timeago";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -8014,6 +8014,8 @@ in {
|
|||
|
||||
tilestache = callPackage ../development/python-modules/tilestache { };
|
||||
|
||||
timeago = callPackage ../development/python-modules/timeago { };
|
||||
|
||||
timelib = callPackage ../development/python-modules/timelib { };
|
||||
|
||||
timeout-decorator = callPackage ../development/python-modules/timeout-decorator { };
|
||||
|
|
Loading…
Reference in New Issue