26 lines
746 B
Nix
26 lines
746 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
|
|
, mpd_clientlib, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ncmpc-${version}";
|
|
version = "0.28";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "ncmpc";
|
|
rev = "v${version}";
|
|
sha256 = "1z0bdkqsdb3f5k2lsws3qzav4r30fzk8fhxj9l0p738flcka6k4n";
|
|
};
|
|
|
|
buildInputs = [ glib ncurses mpd_clientlib ];
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
|
homepage = http://www.musicpd.org/clients/ncmpc/;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|