mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
26 lines
747 B
Nix
26 lines
747 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
|
|
, mpd_clientlib, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ncmpc-${version}";
|
|
version = "0.30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "ncmpc";
|
|
rev = "v${version}";
|
|
sha256 = "0s2bynm5szrk8bjhg200mvsm2ny0wz9s10nx7r69y9y4jsxr8624";
|
|
};
|
|
|
|
buildInputs = [ glib ncurses mpd_clientlib ];
|
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
|
homepage = https://www.musicpd.org/clients/ncmpc/;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|