From 148f8a027b640f87ad956344e05d125bb58edb86 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 11:30:43 +0200 Subject: [PATCH] python310Packages.types-python-dateutil: init at 2.8.19 --- .../types-python-dateutil/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/types-python-dateutil/default.nix diff --git a/pkgs/development/python-modules/types-python-dateutil/default.nix b/pkgs/development/python-modules/types-python-dateutil/default.nix new file mode 100644 index 000000000000..d177013f7f57 --- /dev/null +++ b/pkgs/development/python-modules/types-python-dateutil/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "types-python-dateutil"; + version = "2.8.19"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-v9PrOcclOupLojsQ9psBfTCwE2YrtL5KtIsgu9dj8wk="; + }; + + # Modules doesn't have tests + doCheck = false; + + pythonImportsCheck = [ + "dateutil-stubs" + ]; + + meta = with lib; { + description = "Typing stubs for python-dateutil"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 870cd0027ebe..8bd29ba28565 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11374,6 +11374,8 @@ in { types-protobuf = callPackage ../development/python-modules/types-protobuf { }; + types-python-dateutil = callPackage ../development/python-modules/types-python-dateutil { }; + types-pytz = callPackage ../development/python-modules/types-pytz { }; types-pyyaml = callPackage ../development/python-modules/types-pyyaml { };