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

30 lines
888 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg
, libvorbis, libmpc, libsndfile, libjack2, db, libmodplug, timidity, libid3tag
, libtool
}:
2013-12-14 21:16:18 +00:00
stdenv.mkDerivation rec {
name = "moc-${version}";
2016-12-11 18:50:37 +00:00
version = "2.5.2";
2013-12-14 21:16:18 +00:00
src = fetchurl {
url = "http://ftp.daper.net/pub/soft/moc/stable/moc-${version}.tar.bz2";
2016-12-11 18:50:37 +00:00
sha256 = "026v977kwb0wbmlmf6mnik328plxg8wykfx9ryvqhirac0aq39pk";
2013-12-14 21:16:18 +00:00
};
2016-11-17 20:35:05 +00:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
2016-11-17 20:35:05 +00:00
ncurses alsaLib flac libmad speex ffmpeg libvorbis libmpc libsndfile libjack2
db libmodplug timidity libid3tag libtool
];
2013-12-14 21:16:18 +00:00
meta = with stdenv.lib; {
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/;
license = licenses.gpl2;
2014-10-12 11:09:49 +00:00
maintainers = with maintainers; [ pSub jagajaga ];
platforms = platforms.linux;
2013-12-14 21:16:18 +00:00
};
}