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