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 10:16:41 +01: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 10:16:41 +01: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 13:42:53 +01: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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/python-dateutil";
|
2017-03-01 20:54:34 +00:00
|
|
|
license = "BSD-style";
|
|
|
|
};
|
|
|
|
}
|