mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
65 lines
1011 B
Nix
65 lines
1011 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
sphinx,
|
|
glib,
|
|
ncurses,
|
|
libmpdclient,
|
|
gettext,
|
|
boost,
|
|
fmt,
|
|
pcre2,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ncmpc";
|
|
version = "0.51";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MusicPlayerDaemon";
|
|
repo = "ncmpc";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-mFZ8szJT7eTPHQHxjpP5pThCcY0YERGkGR8528Xu9MA=";
|
|
};
|
|
|
|
buildInputs = [
|
|
glib
|
|
ncurses
|
|
libmpdclient
|
|
boost
|
|
fmt
|
|
pcre2
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
gettext
|
|
sphinx
|
|
];
|
|
|
|
mesonFlags = [
|
|
(lib.mesonEnable "lirc" false)
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"doc"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Curses-based interface for MPD (music player daemon)";
|
|
homepage = "https://www.musicpd.org/clients/ncmpc/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
badPlatforms = platforms.darwin;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
mainProgram = "ncmpc";
|
|
};
|
|
}
|