python312Packages.pillow-avif-plugin: init at 1.4.6

This commit is contained in:
RatCornu 2025-02-14 18:55:02 +01:00 committed by Valentin Gagarin
parent 6a6cbb2850
commit 11f0150cf6
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
libavif,
pillow,
}:
buildPythonPackage rec {
pname = "pillow-avif-plugin";
version = "1.4.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-hVz1DQP2/Bbh/V42SzzqC3n0v5DTn/ISOWlzXYUeCLo=";
};
nativeBuildInputs = [ setuptools ];
buildInputs = [ libavif ];
propagatedBuildInputs = [ pillow ];
meta = {
description = "Pillow plugin that adds support for AVIF files";
homepage = "https://github.com/fdintino/pillow-avif-plugin";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ ratcornu ];
};
}

View File

@ -11370,6 +11370,8 @@ self: super: with self; {
inherit (pkgs.xorg) libxcb;
};
pillow-avif-plugin = callPackage ../development/python-modules/pillow-avif-plugin { };
pillow-heif = callPackage ../development/python-modules/pillow-heif { };
pillow-jpls = callPackage ../development/python-modules/pillow-jpls { };