mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
26 lines
760 B
Nix
26 lines
760 B
Nix
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib, ncurses
|
|
, mpd_clientlib, gettext, boost }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ncmpc-${version}";
|
|
version = "0.33";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "ncmpc";
|
|
rev = "v${version}";
|
|
sha256 = "1ymnxb85v2pc0qpk0yz5gdxayc0ialk82ba521lgdw66li7fr4as";
|
|
};
|
|
|
|
buildInputs = [ glib ncurses mpd_clientlib boost ];
|
|
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 ];
|
|
};
|
|
}
|