2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab
|
2020-05-15 21:57:56 +00:00
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libaec";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.1.3";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.dkrz.de";
|
|
|
|
owner = "k202009";
|
|
|
|
repo = "libaec";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-4WS3l79v9CTFBLuJmNMMK7RRNPLSa5KYID3W4aGMTuE=";
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-15 21:57:56 +00:00
|
|
|
homepage = "https://gitlab.dkrz.de/k202009/libaec";
|
|
|
|
description = "Adaptive Entropy Coding library";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ tbenst ];
|
|
|
|
};
|
|
|
|
}
|