2013-07-03 23:12:39 +00: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-11-09 12:03:34 +00:00
|
|
|
version = "0.6.1";
|
2011-12-05 01:32:25 +00:00
|
|
|
name = "ncmpcpp-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-08-28 22:48:44 +00:00
|
|
|
url = "http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2";
|
2014-11-09 12:03:34 +00:00
|
|
|
sha256 = "033a18hj0q0smm5n0ykld9az7w95myr7jm2b1bjm0h2q5927x8qm";
|
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-03 23:12:39 +00:00
|
|
|
++ libiconvOrEmpty;
|
2011-12-05 01:32:25 +00:00
|
|
|
|
2013-07-03 23:12:39 +00:00
|
|
|
meta = with stdenv.lib; {
|
2011-12-05 01:32:25 +00:00
|
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
2013-07-03 23:12:39 +00:00
|
|
|
homepage = http://unkart.ovh.org/ncmpcpp/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ lovek323 mornfall ];
|
|
|
|
platforms = platforms.all;
|
2011-12-05 01:32:25 +00:00
|
|
|
};
|
|
|
|
}
|