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

32 lines
859 B
Nix
Raw Normal View History

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