summary refs log tree commit diff
path: root/pkgs/development/python-modules/timelib/default.nix
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-27 09:17:53 -0400
committerChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-30 00:50:44 -0400
commit50ec0b1724bc65caa9eae8874bfa09f90444d692 (patch)
tree2d22ee14dce78a51663bf73bee57e7f565fc5d3e /pkgs/development/python-modules/timelib/default.nix
parente063c490b42b96604e84375593af50fd81cf67ca (diff)
downloadnixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.tar
nixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.tar.gz
nixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.tar.bz2
nixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.tar.lz
nixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.tar.xz
nixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.tar.zst
nixpkgs-50ec0b1724bc65caa9eae8874bfa09f90444d692.zip
pythonPackages.timelib: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/timelib/default.nix')
-rw-r--r--pkgs/development/python-modules/timelib/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/timelib/default.nix b/pkgs/development/python-modules/timelib/default.nix
new file mode 100644
index 00000000000..39ff4b6de15
--- /dev/null
+++ b/pkgs/development/python-modules/timelib/default.nix
@@ -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;
+  };
+
+}