31 lines
585 B
Nix
31 lines
585 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "types-pyyaml";
|
|
version = "6.0.12.11";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "types-PyYAML";
|
|
inherit version;
|
|
hash = "sha256-fTQLGcoozd/bpDjuY4zUCEveIT5QGjl4c4VD4nCUd1s=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|