Merge pull request #87205 from tbenst/imagecodecs-pkgs
libaec: init at 1.0.4; zopfli: include all headers
This commit is contained in:
commit
a34175ba56
27
pkgs/development/libraries/libaec/default.nix
Normal file
27
pkgs/development/libraries/libaec/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user