1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/dateutil/default.nix
2019-11-22 08:37:21 +01:00

27 lines
648 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, six, setuptools_scm, pytest }:
buildPythonPackage rec {
pname = "python-dateutil";
version = "2.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ six setuptools_scm ];
checkPhase = ''
py.test dateutil/test
'';
# Requires fixing
doCheck = false;
meta = with stdenv.lib; {
description = "Powerful extensions to the standard datetime module";
homepage = https://pypi.python.org/pypi/python-dateutil;
license = "BSD-style";
};
}