depot/third_party/nixpkgs/pkgs/development/python-modules/pyheif/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

26 lines
525 B
Nix

{ 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; [ ];
};
}