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