2013-12-28 22:12:13 +00:00
|
|
|
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg_0_10, libvorbis, mpc, libsndfile, jackaudio, db4, libmodplug, timidity, libid3tag, libtool }:
|
2013-12-14 21:16:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "moc-${version}";
|
|
|
|
version = "2.5.0-beta1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.daper.net/pub/soft/moc/unstable/moc-${version}.tar.bz2";
|
|
|
|
sha256 = "076816da9c6d1e61a386a1dda5f63ee2fc84bc31e9011ef70acc1d391d4c46a6";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = "./configure prefix=$out";
|
|
|
|
|
2013-12-28 22:12:13 +00:00
|
|
|
buildInputs = [ ncurses pkgconfig alsaLib flac libmad speex ffmpeg_0_10 libvorbis mpc libsndfile jackaudio db4 libmodplug timidity libid3tag libtool ];
|
2013-12-14 21:16:18 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use.";
|
|
|
|
homepage = http://moc.daper.net/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|