2014-05-26 18:20:47 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, ncurses, mpd_clientlib, libintlOrEmpty }:
|
2014-03-25 15:45:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-07-12 17:54:11 +02:00
|
|
|
version = "0.23";
|
2014-03-25 15:45:24 +01:00
|
|
|
name = "ncmpc-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-07-07 12:49:35 +02:00
|
|
|
url = "http://www.musicpd.org/download/ncmpc/0/ncmpc-${version}.tar.xz";
|
2014-07-12 17:54:11 +02:00
|
|
|
sha256 = "d7b30cefaf5c74a5d8ab18ab8275e0102ae12e8ee6d6f8144f8e4cc9a97b5de4";
|
2014-03-25 15:45:24 +01:00
|
|
|
};
|
|
|
|
|
2014-05-26 18:20:47 +02:00
|
|
|
buildInputs = [ pkgconfig glib ncurses mpd_clientlib ]
|
|
|
|
++ libintlOrEmpty;
|
2014-03-25 15:45:24 +01:00
|
|
|
|
2014-05-27 16:54:58 +02:00
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
|
|
|
2014-03-25 15:45:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
|
|
|
homepage = http://www.musicpd.org/clients/ncmpc/;
|
|
|
|
license = licenses.gpl2Plus;
|
2014-03-27 21:32:54 +01:00
|
|
|
maintainers = with maintainers; [ _1126 ];
|
2014-03-25 15:45:24 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|