31 lines
584 B
Nix
31 lines
584 B
Nix
{ 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 ];
|
|
};
|
|
}
|