pythonPackages.timelib: refactor move to python-modules
This commit is contained in:
parent
e063c490b4
commit
50ec0b1724
22
pkgs/development/python-modules/timelib/default.nix
Normal file
22
pkgs/development/python-modules/timelib/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "timelib";
|
||||||
|
version = "0.2.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
extension = "zip";
|
||||||
|
sha256 = "49142233bdb5971d64a41e05a1f80a408a02be0dc7d9f8c99e7bdd0613ba81cb";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Parse english textual date descriptions";
|
||||||
|
homepage = "https://github.com/pediapress/timelib/";
|
||||||
|
license = licenses.zlib;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3786,22 +3786,7 @@ in {
|
|||||||
|
|
||||||
tilestache = callPackage ../development/python-modules/tilestache { };
|
tilestache = callPackage ../development/python-modules/tilestache { };
|
||||||
|
|
||||||
timelib = buildPythonPackage rec {
|
timelib = callPackage ../development/python-modules/timelib { };
|
||||||
name = "timelib-0.2.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/t/timelib/${name}.zip";
|
|
||||||
sha256 = "49142233bdb5971d64a41e05a1f80a408a02be0dc7d9f8c99e7bdd0613ba81cb";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Parse english textual date descriptions";
|
|
||||||
homepage = "https://github.com/pediapress/timelib/";
|
|
||||||
license = licenses.zlib;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
timeout-decorator = callPackage ../development/python-modules/timeout-decorator { };
|
timeout-decorator = callPackage ../development/python-modules/timeout-decorator { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user