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-11-19 14:35:34 +00:00
|
|
|
version = "2.8.1";
|
2017-03-01 20:54:34 +00:00
|
|
|
|
2017-09-05 09:16:41 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-19 14:35:34 +00:00
|
|
|
sha256 = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c";
|
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";
|
|
|
|
};
|
|
|
|
}
|