diff options
Diffstat (limited to 'pkgs/development/python-modules/types-pillow/default.nix')
-rw-r--r-- | pkgs/development/python-modules/types-pillow/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/types-pillow/default.nix b/pkgs/development/python-modules/types-pillow/default.nix new file mode 100644 index 00000000000..10c79c53209 --- /dev/null +++ b/pkgs/development/python-modules/types-pillow/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "types-pillow"; + version = "9.4.0.12"; + format = "setuptools"; + + src = fetchPypi { + inherit version; + pname = "types-Pillow"; + sha256 = "sha256-4AdBSdXwbTWTwRisyD41P4VCvMc1dv/vtlaOqrVnE0g="; + }; + + # Modules doesn't have tests + doCheck = false; + + pythonImportsCheck = [ + "PIL-stubs" + ]; + + meta = with lib; { + description = "Typing stubs for Pillow"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ arjan-s ]; + }; +} |