2010-11-17 16:03:12 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, ffmpeg, libvorbis, mpc, mp4v2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-11-17 16:20:57 +01:00
|
|
|
name = "cmus-${version}";
|
|
|
|
version = "2.3.3";
|
2010-11-17 16:03:12 +01:00
|
|
|
|
|
|
|
configurePhase = "./configure prefix=$out";
|
|
|
|
|
|
|
|
buildInputs = [ ncurses pkgconfig alsaLib flac libmad ffmpeg libvorbis mpc mp4v2 ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-11-17 16:20:57 +01:00
|
|
|
url = "mirror://sourceforge/cmus/cmus-v${version}.tar.bz2";
|
|
|
|
sha256 = "13hc5d7h2ayjwnip345hc59rpjj9fgrp1i5spjw3s14prdqr733v";
|
2010-11-17 16:03:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "cmus is a small, fast and powerful console music player for Linux and *BSD";
|
|
|
|
homepage = http://cmus.sourceforge.net;
|
2010-11-17 16:20:57 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-11-17 16:03:12 +01:00
|
|
|
};
|
|
|
|
}
|