diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/types-docutils')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/types-docutils/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/types-docutils/default.nix b/nixpkgs/pkgs/development/python-modules/types-docutils/default.nix new file mode 100644 index 000000000000..69cbd695f910 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/types-docutils/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchPypi +, setuptools +}: + +buildPythonPackage rec { + pname = "types-docutils"; + version = "0.20.0.20240227"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-fy27AjVgJLXbPv2d8msjbaBQrS6tqJhy5ShLSjlLd2E="; + }; + + 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 ]; + }; +} |