Merge pull request #87205 from tbenst/imagecodecs-pkgs

libaec: init at 1.0.4; zopfli: include all headers
This commit is contained in:
adisbladis 2020-05-09 10:14:59 +02:00 committed by GitHub
commit a34175ba56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitLab
, cmake
}:
stdenv.mkDerivation rec {
pname = "libaec";
version = "1.0.4";
src = fetchFromGitLab {
domain = "gitlab.dkrz.de";
owner = "k202009";
repo = "libaec";
rev = "v${version}";
sha256 = "1rpma89i35ahbalaqz82y201syxni7jkf9892jlyyrhhrvlnm4l2";
};
nativeBuildInputs = [
cmake
];
meta = with stdenv.lib; {
homepage = "https://gitlab.dkrz.de/k202009/libaec";
description = "Adaptive Entropy Coding library";
license = licenses.bsd2;
maintainers = with maintainers; [ tbenst ];
};
}

View File

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
postInstall = ''
install -Dm444 -t $out/share/doc/zopfli ../README*
cp $src/src/zopfli/*.h $dev/include/
'';
enableParallelBuilding = true;

View File

@ -12427,6 +12427,8 @@ in
libacr38u = callPackage ../tools/security/libacr38u { };
libaec = callPackage ../development/libraries/libaec { };
libagar = callPackage ../development/libraries/libagar { };
libagar_test = callPackage ../development/libraries/libagar/libagar_test.nix { };