python312Packages.icontract: relax deps (#380554)
[NixPkgs.git] / pkgs / development / python-modules / types-pyyaml / default.nix
blob807055176040031db773b98c7e8ea220baa4e240
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6 }:
8 buildPythonPackage rec {
9   pname = "types-pyyaml";
10   version = "6.0.12.20241230";
11   pyproject = true;
13   src = fetchPypi {
14     pname = "types_pyyaml";
15     inherit version;
16     hash = "sha256-fwdiLb00u5yLJk/oYKF+DvytANULXyfpOYSQnZNjSYw=";
17   };
19   build-system = [ setuptools ];
21   # Module doesn't have tests
22   doCheck = false;
24   pythonImportsCheck = [ "yaml-stubs" ];
26   meta = with lib; {
27     description = "Typing stubs for PyYAML";
28     homepage = "https://github.com/python/typeshed";
29     license = licenses.asl20;
30     maintainers = with maintainers; [ dnr ];
31   };