2014-11-14 22:18:16 +01:00
|
|
|
{ stdenv, fetchgit, ncurses, pkgconfig, alsaLib, flac, libmad, ffmpeg, libvorbis, mpc, mp4v2, libcue, pulseaudio}:
|
2010-11-17 16:03:12 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-11-17 16:20:57 +01:00
|
|
|
name = "cmus-${version}";
|
2014-11-14 22:18:16 +01:00
|
|
|
version = "2.6.0";
|
2010-11-17 16:03:12 +01:00
|
|
|
|
2014-11-14 22:18:16 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/cmus/cmus.git;
|
|
|
|
rev = "46b71032da827d22d4fae5bf2afcc4c9afef568c";
|
|
|
|
sha256 = "1hkqifll5ryf3ljp3w1dxz1p8m6rk34fpazc6vwavis6ga310hka";
|
2010-11-17 16:03:12 +01:00
|
|
|
};
|
|
|
|
|
2013-03-14 14:50:29 +01:00
|
|
|
configurePhase = "./configure prefix=$out";
|
|
|
|
|
2014-11-14 22:18:16 +01:00
|
|
|
buildInputs = [ ncurses pkgconfig alsaLib flac libmad ffmpeg libvorbis mpc mp4v2 libcue pulseaudio ];
|
2013-03-14 14:50:29 +01:00
|
|
|
|
2010-11-17 16:03:12 +01:00
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Small, fast and powerful console music player for Linux and *BSD";
|
2014-11-14 22:18:16 +01:00
|
|
|
homepage = https://cmus.github.io/;
|
2010-11-17 16:20:57 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-11-17 16:03:12 +01:00
|
|
|
};
|
|
|
|
}
|