diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 66aa6fb9c27..b31a61813d3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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}";