diff options
Diffstat (limited to 'pkgs/development/python-modules/types-pyyaml/default.nix')
-rw-r--r-- | pkgs/development/python-modules/types-pyyaml/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
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 0000000000000..113e2bd887787 --- /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 ]; + }; +} |