2014-07-22 21:06:44 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
|
2015-06-27 08:17:52 +01:00
|
|
|
, libvorbis, libmpc, libsndfile, libjack2, db, libmodplug, timidity, libid3tag
|
2014-07-22 21:06:44 +01:00
|
|
|
, libtool
|
|
|
|
}:
|
2013-12-14 21:16:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "moc-${version}";
|
2014-09-04 21:28:41 +01:00
|
|
|
version = "2.5.0";
|
2013-12-14 21:16:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-04 21:28:41 +01:00
|
|
|
url = "http://ftp.daper.net/pub/soft/moc/stable/moc-${version}.tar.bz2";
|
|
|
|
sha256 = "14b0g9jn12jzxsf292g64dc6frlxv99kaagsasmc8xmg80iab7nj";
|
2013-12-14 21:16:18 +00:00
|
|
|
};
|
|
|
|
|
2014-07-22 21:06:44 +01:00
|
|
|
buildInputs = [
|
|
|
|
ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis
|
2015-06-27 08:17:52 +01:00
|
|
|
libmpc libsndfile libjack2 db libmodplug timidity libid3tag libtool
|
2014-07-22 21:06:44 +01:00
|
|
|
];
|
2013-12-14 21:16:18 +00:00
|
|
|
|
2014-09-04 21:28:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "An ncurses console audio player designed to be powerful and easy to use";
|
2013-12-14 21:16:18 +00:00
|
|
|
homepage = http://moc.daper.net/;
|
2014-09-04 21:28:41 +01:00
|
|
|
license = licenses.gpl2;
|
2014-10-12 12:09:49 +01:00
|
|
|
maintainers = with maintainers; [ pSub jagajaga ];
|
2014-09-04 21:28:41 +01:00
|
|
|
platforms = platforms.linux;
|
2013-12-14 21:16:18 +00:00
|
|
|
};
|
|
|
|
}
|