forked from mirrors/nixpkgs
pythonpackages.pytimeparse: init pytimeparse at 1.1.5
A small Python library to parse various kinds of time expressions
This commit is contained in:
parent
b83a9036ec
commit
248ebe9b43
|
@ -222,6 +222,25 @@ in modules // {
|
|||
|
||||
pysideTools = callPackage ../development/python-modules/pyside/tools.nix { };
|
||||
|
||||
pytimeparse = buildPythonPackage rec {
|
||||
name = "pytimeparse-1.1.5";
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "A small Python library to parse various kinds of time expressions";
|
||||
homepage = "https://github.com/wroberts/pytimeparse";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ nose ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pytimeparse/${name}.tar.gz";
|
||||
sha256 = "01xj31m5brydm4gvc6lwx26r74903wvm1jx3g05633k3mqlvvpcs";
|
||||
};
|
||||
};
|
||||
|
||||
pyxml = if !isPy3k then callPackage ../development/python-modules/pyxml{ } else throw "pyxml not supported for interpreter ${python.executable}";
|
||||
|
||||
rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}";
|
||||
|
|
Loading…
Reference in a new issue