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

31 lines
595 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "types-pillow";
version = "10.2.0.20240311";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "types-Pillow";
hash = "sha256-9hH2uvfDeE/lUO6SsQgGD1VEpHw3xzrLgaeF8cYxJ3I=";
};
# 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 ];
};
}