about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyheif/default.nix
blob: 2a1cad706bbe413e08331c58dd7439fcaefd4ef5 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  cffi,
  libheif,
}:

buildPythonPackage rec {
  pname = "pyheif";
  version = "0.7.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-hqXFF0N51xRrXtGmiJL69yaKE1+39QOaARv7em6QMgA=";
  };

  propagatedBuildInputs = [
    cffi
    libheif
  ];

  meta = with lib; {
    homepage = "https://github.com/carsales/pyheif";
    description = "Python interface to libheif library";
    license = licenses.asl20;
    maintainers = with maintainers; [ ];
  };
}