Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, meson 5, ninja 6}: 7 8let 9 name = "liblc3"; 10 version = "1.0.3"; 11in 12stdenv.mkDerivation { 13 pname = name; 14 version = version; 15 16 src = fetchFromGitHub { 17 owner = "google"; 18 repo = "liblc3"; 19 rev = "v${version}"; 20 sha256 = "sha256-PEnK12FWAtxOMR3WyuxOQTgF+lD9S5YX+oKuWRbFfXM="; 21 }; 22 23 outputs = [ "out" "dev" ]; 24 25 nativeBuildInputs = [ 26 meson 27 ninja 28 ]; 29 30 meta = with lib; { 31 description = "LC3 (Low Complexity Communication Codec) is an efficient low latency audio codec"; 32 homepage = "https://github.com/google/liblc3"; 33 license = licenses.asl20; 34 platforms = platforms.linux; 35 maintainers = with maintainers; [ jansol ]; 36 }; 37} 38