2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchFromGitLab
|
2020-05-07 19:50:51 +02:00
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libaec";
|
2021-06-19 02:53:28 +02:00
|
|
|
version = "1.0.5";
|
2020-05-07 19:50:51 +02:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.dkrz.de";
|
|
|
|
owner = "k202009";
|
|
|
|
repo = "libaec";
|
|
|
|
rev = "v${version}";
|
2021-06-19 02:53:28 +02:00
|
|
|
sha256 = "sha256-Vi0fCd9V/EH+PcD+e6RZK2/isR1xGX25POhm1Xen5ak=";
|
2020-05-07 19:50:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-05-07 19:50:51 +02:00
|
|
|
homepage = "https://gitlab.dkrz.de/k202009/libaec";
|
|
|
|
description = "Adaptive Entropy Coding library";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ tbenst ];
|
|
|
|
};
|
|
|
|
}
|