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

26 lines
760 B
Nix
Raw Normal View History

2017-10-02 19:23:56 +01:00
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
2018-11-22 12:33:16 +00:00
, mpd_clientlib, gettext, boost }:
2014-03-25 14:45:24 +00:00
2017-11-03 23:43:27 +00:00
stdenv.mkDerivation rec {
2014-03-25 14:45:24 +00:00
name = "ncmpc-${version}";
2018-11-22 12:33:16 +00:00
version = "0.33";
2014-03-25 14:45:24 +00:00
src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "ncmpc";
rev = "v${version}";
2018-11-22 12:33:16 +00:00
sha256 = "1ymnxb85v2pc0qpk0yz5gdxayc0ialk82ba521lgdw66li7fr4as";
2014-03-25 14:45:24 +00:00
};
2018-11-22 12:33:16 +00:00
buildInputs = [ glib ncurses mpd_clientlib boost ];
2017-10-02 19:23:56 +01:00
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
2014-03-25 14:45:24 +00:00
meta = with stdenv.lib; {
description = "Curses-based interface for MPD (music player daemon)";
homepage = https://www.musicpd.org/clients/ncmpc/;
2014-03-25 14:45:24 +00:00
license = licenses.gpl2Plus;
platforms = platforms.all;
2017-10-02 19:23:56 +01:00
maintainers = with maintainers; [ fpletz ];
2014-03-25 14:45:24 +00:00
};
}