From 884591ea2fd8e0dc495e5ccee5b0a3cab3c05159 Mon Sep 17 00:00:00 2001 From: Nazar Vinnichuk Date: Wed, 25 Mar 2026 20:48:17 +0200 Subject: [PATCH] python3Packages.types-certifi: init at 2021.10.8.3 --- .../python-modules/types-certifi/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/types-certifi/default.nix diff --git a/pkgs/development/python-modules/types-certifi/default.nix b/pkgs/development/python-modules/types-certifi/default.nix new file mode 100644 index 000000000000..aa3d10198b60 --- /dev/null +++ b/pkgs/development/python-modules/types-certifi/default.nix @@ -0,0 +1,33 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, +}: + +buildPythonPackage (finalAttrs: { + pname = "types-certifi"; + version = "2021.10.8.3"; + pyproject = true; + + # Building typeshed subpackages from the GitHub repository requires packaging + # https://github.com/typeshed-internal/stub_uploader + # The switch to fetchFromGitHub can be made at once for all applicable types-* + # packages once stub_uploader is packaged + src = fetchPypi { + inherit (finalAttrs) pname version; + hash = "sha256-cs93mNFlvAt24cEN0eowl8cGPELCHWZFI7ko6ItVSk8="; + }; + + build-system = [ setuptools ]; + + # No tests + doCheck = false; + + meta = { + description = "Typing stubs for certifi"; + homepage = "https://github.com/python/typeshed"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ Kharacternyk ]; + }; +}) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ed9eb35aa310..069d9f08db60 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20221,6 +20221,8 @@ self: super: with self; { types-beautifulsoup4 = callPackage ../development/python-modules/types-beautifulsoup4 { }; + types-certifi = callPackage ../development/python-modules/types-certifi { }; + types-click = callPackage ../development/python-modules/types-click { }; types-colorama = callPackage ../development/python-modules/types-colorama { };