blob: 1771bf1ea7f95d536c7865e86652cf39f61fe44f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cffi,
libheif,
piexif,
pillow,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyheif";
version = "0.8.0";
pyproject = true;
src = fetchFromGitHub {
owner = "carsales";
repo = "pyheif";
rev = "refs/tags/release-${version}";
hash = "sha256-7De8ekDceSkUcOgK7ppKad5W5qE0yxdS4kbgYVjxTGg=";
};
build-system = [ setuptools ];
buildInputs = [ libheif ];
dependencies = [ cffi ];
pythonImportsCheck = [ "pyheif" ];
nativeCheckInputs = [
piexif
pillow
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/carsales/pyheif";
description = "Python interface to libheif library";
license = licenses.asl20;
maintainers = [ ];
};
}
|