nixpkgs/pkgs/development/python-modules/pyheif/default.nix
2022-12-21 22:30:55 +00:00

25 lines
500 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cffi
, libheif
}:
buildPythonPackage rec {
pname = "pyheif";
version = "0.7.1";
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; [ ];
};
}