python312Packages.pyheif: 0.7.1 -> 0.8.0 (#338846)

This commit is contained in:
OTABI Tomoya 2024-09-07 11:08:30 +09:00 committed by GitHub
commit f4283026a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,24 +1,39 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
cffi,
libheif,
piexif,
pillow,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyheif";
version = "0.7.1";
format = "setuptools";
version = "0.8.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-hqXFF0N51xRrXtGmiJL69yaKE1+39QOaARv7em6QMgA=";
src = fetchFromGitHub {
owner = "carsales";
repo = "pyheif";
rev = "refs/tags/release-${version}";
hash = "sha256-7De8ekDceSkUcOgK7ppKad5W5qE0yxdS4kbgYVjxTGg=";
};
propagatedBuildInputs = [
cffi
libheif
build-system = [ setuptools ];
buildInputs = [ libheif ];
dependencies = [ cffi ];
pythonImportsCheck = [ "pyheif" ];
nativeCheckInputs = [
piexif
pillow
pytestCheckHook
];
meta = with lib; {