2017-10-02 20:23:56 +02:00
|
|
|
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
|
2018-11-22 13:33:16 +01:00
|
|
|
, mpd_clientlib, gettext, boost }:
|
2014-03-25 15:45:24 +01:00
|
|
|
|
2017-11-04 00:43:27 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ncmpc";
|
2019-09-27 23:15:34 +02:00
|
|
|
version = "0.35";
|
2014-03-25 15:45:24 +01:00
|
|
|
|
2017-06-09 06:54:56 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MusicPlayerDaemon";
|
|
|
|
repo = "ncmpc";
|
|
|
|
rev = "v${version}";
|
2019-09-27 23:15:34 +02:00
|
|
|
sha256 = "0hhc5snxy5fbg47ynz4b7fkmzdy974zxqr0cqc6kh15yvbr25ikh";
|
2014-03-25 15:45:24 +01:00
|
|
|
};
|
|
|
|
|
2018-11-22 13:33:16 +01:00
|
|
|
buildInputs = [ glib ncurses mpd_clientlib boost ];
|
2017-10-02 20:23:56 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
2014-05-27 16:54:58 +02:00
|
|
|
|
2019-06-24 17:08:41 +02:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dlirc=disabled"
|
|
|
|
"-Dregex=disabled"
|
|
|
|
"-Ddocumentation=disabled"
|
|
|
|
];
|
|
|
|
|
2014-03-25 15:45:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
2018-01-05 20:42:46 +01:00
|
|
|
homepage = https://www.musicpd.org/clients/ncmpc/;
|
2014-03-25 15:45:24 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
2017-10-02 20:23:56 +02:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2014-03-25 15:45:24 +01:00
|
|
|
};
|
|
|
|
}
|