33 lines
604 B
Nix
33 lines
604 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
python-dateutil,
|
||
|
pytz,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "dateutils";
|
||
|
version = "0.6.12";
|
||
|
format = "setuptools";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-A92QvLIVQb1OtLATY35PG1+USIHEbMbktnpgWeNw4/E=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
python-dateutil
|
||
|
pytz
|
||
|
];
|
||
|
|
||
|
pythonImportsCheck = [ "dateutils" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Utilities for working with datetime objects";
|
||
|
homepage = "https://github.com/jmcantrell/python-dateutils";
|
||
|
license = licenses.bsd0;
|
||
|
maintainers = [ ];
|
||
|
};
|
||
|
}
|