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