diff options
author | Gabriel Ebner <gebner@gebner.org> | 2018-07-01 11:05:44 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2018-07-01 14:21:26 +0200 |
commit | 055a355c0b7f06408e2e16e53d1d3de7575d0614 (patch) | |
tree | aa1e22d5f786abf945e77cc21241c77e8b8c9bdf /pkgs/development/libraries/libheif | |
parent | 47216a62d39a31b419739008fcbbe982481cb348 (diff) |
libheif: init at 1.3.2
Diffstat (limited to 'pkgs/development/libraries/libheif')
-rw-r--r-- | pkgs/development/libraries/libheif/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libheif/default.nix b/pkgs/development/libraries/libheif/default.nix new file mode 100644 index 0000000000000..d4555573dedf3 --- /dev/null +++ b/pkgs/development/libraries/libheif/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, libde265, x265, pkgconfig, libpng, libjpeg }: + +stdenv.mkDerivation rec { + version = "1.3.2"; + name = "libheif-${version}"; + + src = fetchFromGitHub { + owner = "strukturag"; + repo = "libheif"; + rev = "v${version}"; + sha256 = "0hk8mzig2kp5f94j4jwqxzjrm7ffk16ffvxl92rf0afsh6vgnz7w"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ libde265 x265 libpng libjpeg ]; + propagatedBuildInputs = [ x265 ]; + + meta = { + homepage = "http://www.libheif.org/"; + description = "ISO/IEC 23008-12:2017 HEIF image file format decoder and encoder"; + license = stdenv.lib.licenses.lgpl3; + platforms = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ gebner ]; + }; + +} |