python312Packages.heif-image-plugin: init at 0.6.2

This commit is contained in:
RatCornu 2025-02-14 18:34:43 +01:00 committed by Valentin Gagarin
parent a8cf52487b
commit 6a6cbb2850
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
cffi,
piexif,
pillow,
}:
buildPythonPackage rec {
pname = "heif-image-plugin";
version = "0.6.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "uploadcare";
repo = "heif-image-plugin";
rev = "v${version}";
hash = "sha256-SlnnlBscNelNH0XkOenq3nolyqzRMK10SzVii61Moi4=";
};
propagatedBuildInputs = [
cffi
piexif
pillow
];
meta = {
description = "Simple HEIF/HEIC images plugin for Pillow base on pyhief library";
homepage = "https://github.com/uploadcare/heif-image-plugin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ratcornu ];
};
}

View File

@ -6376,6 +6376,8 @@ self: super: with self; {
hebg = callPackage ../development/python-modules/hebg { };
heif-image-plugin = callPackage ../development/python-modules/heif-image-plugin { };
help2man = callPackage ../development/python-modules/help2man { };
helpdev = callPackage ../development/python-modules/helpdev { };