2014-07-22 20:06:44 +00:00
|
|
|
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
|
2014-07-31 10:47:17 +00:00
|
|
|
, libvorbis, mpc, libsndfile, jack2, db, libmodplug, timidity, libid3tag
|
2014-07-22 20:06:44 +00:00
|
|
|
, libtool
|
|
|
|
}:
|
2013-12-14 21:16:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "moc-${version}";
|
2014-05-24 18:34:27 +00:00
|
|
|
version = "2.5.0-beta2";
|
2013-12-14 21:16:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.daper.net/pub/soft/moc/unstable/moc-${version}.tar.bz2";
|
2014-05-24 18:34:27 +00:00
|
|
|
sha256 = "486d50584c3fb0067b8c03af54e44351633a7740b18dc3b7358322051467034c";
|
2013-12-14 21:16:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = "./configure prefix=$out";
|
|
|
|
|
2014-07-22 20:06:44 +00:00
|
|
|
buildInputs = [
|
|
|
|
ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis
|
2014-07-31 10:47:17 +00:00
|
|
|
mpc libsndfile jack2 db libmodplug timidity libid3tag libtool
|
2014-07-22 20:06:44 +00:00
|
|
|
];
|
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;
|
|
|
|
};
|
|
|
|
}
|