Files
nixpkgs/pkgs/development/python-modules/dateutil/default.nix
T

27 lines
650 B
Nix
Raw Normal View History

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 {
pname = "python-dateutil";
2019-11-19 15:35:34 +01:00
version = "2.8.1";
2017-03-01 21:54:34 +01:00
src = fetchPypi {
inherit pname version;
2019-11-19 15:35:34 +01:00
sha256 = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c";
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";
homepage = "https://pypi.python.org/pypi/python-dateutil";
2017-03-01 21:54:34 +01:00
license = "BSD-style";
};
}