2013-07-04 01:12:39 +02:00
|
|
|
{ stdenv, fetchurl, ncurses, curl, taglib, fftw, mpd_clientlib, pkgconfig
|
2014-11-09 13:03:34 +01:00
|
|
|
, libiconvOrEmpty, boost, readline }:
|
2011-12-05 02:32:25 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-12-23 22:44:33 +01:00
|
|
|
version = "0.6.2";
|
2011-12-05 02:32:25 +01:00
|
|
|
name = "ncmpcpp-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-08-29 00:48:44 +02:00
|
|
|
url = "http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2";
|
2014-12-23 22:44:33 +01:00
|
|
|
sha256 = "1mrd6m6ph0fscxp9x96ipxh6ai7w0n1miapcfqrqfy058qx5zbck";
|
2011-12-05 02:32:25 +01:00
|
|
|
};
|
|
|
|
|
2014-11-09 13:03:34 +01:00
|
|
|
configureFlags = "BOOST_LIB_SUFFIX=";
|
|
|
|
|
|
|
|
buildInputs = [ ncurses curl taglib fftw mpd_clientlib boost pkgconfig readline ]
|
2013-07-04 01:12:39 +02:00
|
|
|
++ libiconvOrEmpty;
|
2011-12-05 02:32:25 +01:00
|
|
|
|
2013-07-04 01:12:39 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-12-05 02:32:25 +01:00
|
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
2013-07-04 01:12:39 +02:00
|
|
|
homepage = http://unkart.ovh.org/ncmpcpp/;
|
|
|
|
license = licenses.gpl2Plus;
|
2014-12-23 22:44:33 +01:00
|
|
|
maintainers = with maintainers; [ lovek323 mornfall koral ];
|
2013-07-04 01:12:39 +02:00
|
|
|
platforms = platforms.all;
|
2011-12-05 02:32:25 +01:00
|
|
|
};
|
|
|
|
}
|