2010-11-17 15:03:12 +00:00
|
|
|
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, ffmpeg, libvorbis, mpc, mp4v2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-11-17 15:20:57 +00:00
|
|
|
name = "cmus-${version}";
|
2013-03-14 13:50:29 +00:00
|
|
|
version = "2.5.0";
|
2010-11-17 15:03:12 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-11-17 15:20:57 +00:00
|
|
|
url = "mirror://sourceforge/cmus/cmus-v${version}.tar.bz2";
|
2013-03-14 13:50:29 +00:00
|
|
|
sha256 = "1pwd3jifv12yr0yr77hsv5c9y8ay6kn2b5a3s5i8v2c882vgl890";
|
2010-11-17 15:03:12 +00:00
|
|
|
};
|
|
|
|
|
2013-03-14 13:50:29 +00:00
|
|
|
configurePhase = "./configure prefix=$out";
|
|
|
|
|
|
|
|
buildInputs = [ ncurses pkgconfig alsaLib flac libmad ffmpeg libvorbis mpc mp4v2 ];
|
|
|
|
|
2010-11-17 15:03:12 +00:00
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Small, fast and powerful console music player for Linux and *BSD";
|
2010-11-17 15:03:12 +00:00
|
|
|
homepage = http://cmus.sourceforge.net;
|
2010-11-17 15:20:57 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-11-17 15:03:12 +00:00
|
|
|
};
|
|
|
|
}
|