From 39dff39cf37ac61825e610166faf6082f8e4db1d Mon Sep 17 00:00:00 2001 From: David Reiss Date: Sat, 11 Jun 2022 14:27:47 -0700 Subject: [PATCH] python3Packages.types-pyyaml: init at 6.0.8 --- .../python-modules/types-pyyaml/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/types-pyyaml/default.nix diff --git a/pkgs/development/python-modules/types-pyyaml/default.nix b/pkgs/development/python-modules/types-pyyaml/default.nix new file mode 100644 index 00000000000..113e2bd8877 --- /dev/null +++ b/pkgs/development/python-modules/types-pyyaml/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "types-pyyaml"; + version = "6.0.8"; + format = "setuptools"; + + src = fetchPypi { + pname = "types-PyYAML"; + inherit version; + sha256 = "0f349hmw597f2gcja445fsrlnfzb0dj7fy62g8wcbydlgcvmsjfr"; + }; + + # Module doesn't have tests + doCheck = false; + + pythonImportsCheck = [ + "yaml-stubs" + ]; + + meta = with lib; { + description = "Typing stubs for PyYAML"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ dnr ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b678022fea8..313e13e0caf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10768,6 +10768,8 @@ in { types-pytz = callPackage ../development/python-modules/types-pytz { }; + types-pyyaml = callPackage ../development/python-modules/types-pyyaml { }; + types-redis = callPackage ../development/python-modules/types-redis { }; types-requests = callPackage ../development/python-modules/types-requests { };