mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
python312Packages.pyheif: 0.7.1 -> 0.8.0 (#338846)
This commit is contained in:
commit
f4283026a3
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user