linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / dateutil / default.nix
blobe71a532a806d64f2e646e4f3ed6ca79475e7656d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 , six
6 }:
8 buildPythonPackage rec {
9   pname = "python-dateutil";
10   version = "2.8.1";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c";
15   };
17   nativeBuildInputs = [ setuptools-scm ];
19   propagatedBuildInputs = [ six ];
21   # cyclic dependency: tests need freezegun, which depends on python-dateutil
22   doCheck = false;
24   pythonImportsCheck = [
25     "dateutil.easter"
26     "dateutil.parser"
27     "dateutil.relativedelta"
28     "dateutil.rrule"
29     "dateutil.tz"
30     "dateutil.utils"
31     "dateutil.zoneinfo"
32   ];
34   meta = with lib; {
35     description = "Powerful extensions to the standard datetime module";
36     homepage = "https://github.com/dateutil/dateutil/";
37     license = with licenses; [ asl20 bsd3 ];
38     maintainers = with maintainers; [ dotlambda ];
39   };