nixpkgs/pkgs/applications/audio/moc/default.nix

28 lines
848 B
Nix
Raw Normal View History

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