nixpkgs/pkgs/development/python-modules/types-docutils/default.nix

35 lines
630 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "types-docutils";
version = "0.20.0.20240314";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Lq158JJnPILx+3u4yHugGrrVTbZlB2QsBAseaE4j7Ug=";
};
nativeBuildInputs = [
setuptools
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"docutils-stubs"
];
meta = with lib; {
description = "Typing stubs for docutils";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}