nixpkgs-suyu/pkgs/applications/audio/ncmpc/default.nix

26 lines
747 B
Nix
Raw Normal View History

2017-10-02 20:23:56 +02:00
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
, mpd_clientlib, gettext }:
2014-03-25 15:45:24 +01:00
2017-11-04 00:43:27 +01:00
stdenv.mkDerivation rec {
2014-03-25 15:45:24 +01:00
name = "ncmpc-${version}";
version = "0.30";
2014-03-25 15:45:24 +01:00
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "ncmpc";
rev = "v${version}";
sha256 = "0s2bynm5szrk8bjhg200mvsm2ny0wz9s10nx7r69y9y4jsxr8624";
2014-03-25 15:45:24 +01:00
};
buildInputs = [ glib ncurses mpd_clientlib ];
2017-10-02 20:23:56 +02:00
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
2014-03-25 15:45:24 +01:00
meta = with stdenv.lib; {
description = "Curses-based interface for MPD (music player daemon)";
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
};
}