My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/dateutil/default.nix

40 lines
881 B

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, six
}:
buildPythonPackage rec {
pname = "python-dateutil";
version = "2.8.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ASPKzBYnrhnd88J6XeW9Z+5FhvvdZEDZdI+Ku0g9PoY=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ six ];
# cyclic dependency: tests need freezegun, which depends on python-dateutil
doCheck = false;
pythonImportsCheck = [
"dateutil.easter"
"dateutil.parser"
"dateutil.relativedelta"
"dateutil.rrule"
"dateutil.tz"
"dateutil.utils"
"dateutil.zoneinfo"
];
meta = with lib; {
description = "Powerful extensions to the standard datetime module";
homepage = "https://github.com/dateutil/dateutil/";
license = with licenses; [ asl20 bsd3 ];
maintainers = with maintainers; [ dotlambda ];
};
}