From 4b23e1b8f558d33ec6f27575704a800b3f08335c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Oct 2023 08:54:28 +0200 Subject: [PATCH] python311Packages.types-s3transfer: init at 0.7.0 --- .../types-s3transfer/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/types-s3transfer/default.nix diff --git a/pkgs/development/python-modules/types-s3transfer/default.nix b/pkgs/development/python-modules/types-s3transfer/default.nix new file mode 100644 index 00000000000..56c27732187 --- /dev/null +++ b/pkgs/development/python-modules/types-s3transfer/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, fetchPypi +, poetry-core +}: + +buildPythonPackage rec { + pname = "types-s3transfer"; + version = "0.7.0"; + pyproject = true; + + src = fetchPypi { + pname = "types_s3transfer"; + inherit version; + hash = "sha256-rKDySG0KOlA3zVuPPiCkUiopV5qN0YMoH/CqHE4siqc="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "s3transfer-stubs" + ]; + + meta = with lib; { + description = "Type annotations and code completion for s3transfer"; + homepage = "https://github.com/youtype/types-s3transfer"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f5f2519176e..103d22eaacd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -14187,6 +14187,8 @@ self: super: with self; { types-requests = callPackage ../development/python-modules/types-requests { }; + types-s3transfer = callPackage ../development/python-modules/types-s3transfer { }; + types-setuptools = callPackage ../development/python-modules/types-setuptools { }; types-tabulate = callPackage ../development/python-modules/types-tabulate { };