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

22 lines
850 B
Nix
Raw Normal View History

2014-05-24 18:34:27 +00:00
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, speex, ffmpeg, libvorbis, mpc, libsndfile, jackaudio, db, libmodplug, timidity, libid3tag, 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-05-24 18:34:27 +00:00
buildInputs = [ ncurses pkgconfig alsaLib flac libmad speex ffmpeg libvorbis mpc libsndfile jackaudio db 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;
};
}