2019-02-14 08:37:14 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, six, setuptools_scm, pytest }:
|
2017-03-01 21:54:34 +01:00
|
|
|
buildPythonPackage rec {
|
2017-09-05 11:16:41 +02:00
|
|
|
pname = "python-dateutil";
|
2019-02-14 08:37:14 +01:00
|
|
|
version = "2.8.0";
|
2017-03-01 21:54:34 +01:00
|
|
|
|
2017-09-05 11:16:41 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 08:37:14 +01:00
|
|
|
sha256 = "c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e";
|
2017-03-01 21:54:34 +01:00
|
|
|
};
|
|
|
|
|
2019-02-14 08:37:14 +01:00
|
|
|
checkInputs = [ pytest ];
|
2018-06-03 14:42:53 +02:00
|
|
|
propagatedBuildInputs = [ six setuptools_scm ];
|
2017-03-01 21:54:34 +01:00
|
|
|
|
2019-02-14 08:37:14 +01:00
|
|
|
checkPhase = ''
|
|
|
|
py.test dateutil/test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# Requires fixing
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-03-01 21:54:34 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Powerful extensions to the standard datetime module";
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://pypi.python.org/pypi/python-dateutil;
|
2017-03-01 21:54:34 +01:00
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
}
|