Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / iso8601 / default.nix
bloba4982c27f852b59d01250b12dcf5e38df87b15d2
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , hypothesis
5 , poetry-core
6 , pytestCheckHook
7 , pytz
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "iso8601";
13   version = "2.1.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-ax04Ke6JIcQwGZjJCfeCn6ntPL2sDTsWry10Ou0bqN8=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   nativeCheckInputs = [
28     hypothesis
29     pytestCheckHook
30     pytz
31   ];
33   pytestFlagsArray = [
34     "iso8601"
35   ];
37   pythonImportsCheck = [
38     "iso8601"
39   ];
41   meta = with lib; {
42     description = "Simple module to parse ISO 8601 dates";
43     homepage = "https://pyiso8601.readthedocs.io/";
44     changelog = "https://github.com/micktwomey/pyiso8601/blob/${version}/CHANGELOG.md";
45     license = with licenses; [ mit ];
46     maintainers = with maintainers; [ fab ];
47   };