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