lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 22.05-pre 33 lines 826 B view raw
1{ fetchurl, lib, stdenv, gettext, libmpcdec, libao }: 2 3let version = "0.2.4"; in 4stdenv.mkDerivation rec { 5 pname = "mpc123"; 6 inherit version; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/mpc123/version%20${version}/${pname}-${version}.tar.gz"; 10 sha256 = "0sf4pns0245009z6mbxpx7kqy4kwl69bc95wz9v23wgappsvxgy1"; 11 }; 12 13 patches = [ ./use-gcc.patch ]; 14 15 buildInputs = [ gettext libmpcdec libao ]; 16 17 installPhase = 18 # XXX: Should install locales too (though there's only 1 available). 19 '' mkdir -p "$out/bin" 20 cp -v mpc123 "$out/bin" 21 ''; 22 23 meta = { 24 homepage = "http://mpc123.sourceforge.net/"; 25 26 description = "A Musepack (.mpc) audio player"; 27 28 license = lib.licenses.gpl2Plus; 29 30 maintainers = [ ]; 31 platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 32 }; 33}