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