From 59959d00126583b5cae91e8993728ffbd86c112c Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Sun, 22 Nov 2015 14:46:12 -0600 Subject: [PATCH] pythonPackages.dateparser: init at 1.3.1 --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0421f17c4909..80e0ea9bd633 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3341,6 +3341,27 @@ let }; }); + dateparser = buildPythonPackage (rec { + name = "dateparser-${version}"; + version = "0.3.1"; + disabled = isPy3k; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/d/dateparser/${name}.tar.gz"; + sha256 = "56c291a45398e9172d53201ac213226989295749191c1f02d8f3b593b6f88e48"; + }; + + buildInputs = with self; [ nose nose-parameterized mock ]; + + propagatedBuildInputs = with self; [ self.six jdatetime pyyaml dateutil ]; + + meta = { + description = "Date parsing library designed to parse dates from HTML pages"; + homepage = http://pypi.python.org/pypi/dateparser; + license = licenses.bsd3; + }; + }); + dateutil = buildPythonPackage (rec { name = "dateutil-${version}"; version = "2.4.2";