about summary refs log tree commit diff
path: root/pkgs/applications/audio/cmus/default.nix
blob: 4f9c491a3a59be33a2d0ebe2f911367f48d1bdec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, ffmpeg, libvorbis, mpc, mp4v2 }:

stdenv.mkDerivation rec {
  name = "cmus-${version}";
  version = "2.5.0";

  src = fetchurl {
    url = "mirror://sourceforge/cmus/cmus-v${version}.tar.bz2";
    sha256 = "1pwd3jifv12yr0yr77hsv5c9y8ay6kn2b5a3s5i8v2c882vgl890";
  };

  configurePhase = "./configure prefix=$out";

  buildInputs = [ ncurses pkgconfig alsaLib flac libmad ffmpeg libvorbis mpc mp4v2 ];

  meta = {
    description = "Small, fast and powerful console music player for Linux and *BSD";
    homepage = http://cmus.sourceforge.net;
    license = stdenv.lib.licenses.gpl2;
  };
}