Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 29 lines 585 B view raw
1{ lib, stdenv, fetchFromGitLab 2, cmake 3}: 4 5stdenv.mkDerivation rec { 6 pname = "libaec"; 7 version = "1.1.3"; 8 9 src = fetchFromGitLab { 10 domain = "gitlab.dkrz.de"; 11 owner = "k202009"; 12 repo = "libaec"; 13 rev = "v${version}"; 14 sha256 = "sha256-4WS3l79v9CTFBLuJmNMMK7RRNPLSa5KYID3W4aGMTuE="; 15 }; 16 17 nativeBuildInputs = [ 18 cmake 19 ]; 20 21 doCheck = true; 22 23 meta = with lib; { 24 homepage = "https://gitlab.dkrz.de/k202009/libaec"; 25 description = "Adaptive Entropy Coding library"; 26 license = licenses.bsd2; 27 maintainers = with maintainers; [ tbenst ]; 28 }; 29}