Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, pkg-config 5 6, expat 7, libcdio 8, libcdio-paranoia 9, libpulseaudio 10, smooth 11, uriparser 12, zlib 13}: 14 15stdenv.mkDerivation rec { 16 pname = "BoCA"; 17 version = "1.0.7"; 18 19 src = fetchFromGitHub { 20 owner = "enzo1982"; 21 repo = "boca"; 22 rev = "v${version}"; 23 sha256 = "sha256-HIYUMFj5yiEC+liZLMXD9otPyoEb1sxHlECTYtYXc2I="; 24 }; 25 26 nativeBuildInputs = [ 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 expat 32 libcdio 33 libcdio-paranoia 34 libpulseaudio 35 smooth 36 uriparser 37 zlib 38 ]; 39 40 makeFlags = [ 41 "prefix=$(out)" 42 ]; 43 44 meta = with lib; { 45 description = "A component library used by the fre:ac audio converter"; 46 license = licenses.gpl2Plus; 47 homepage = "https://github.com/enzo1982/boca"; 48 maintainers = with maintainers; [ shamilton ]; 49 platforms = platforms.linux; 50 }; 51}