2025-01-19 09:35:02 +00:00

46 lines
954 B
Nix

{
lib,
stdenv,
fetchFromGitLab,
pkg-config,
autoreconfHook,
wrapGAppsHook3,
gtkmm3,
libpulseaudio,
}:
stdenv.mkDerivation rec {
pname = "gmetronome";
version = "0.4.2";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "dqpb";
repo = "gmetronome";
rev = version;
hash = "sha256-/UWOvVeZILDR29VjBK+mFJt1hzWcOljOr7J7+cMrKtM=";
};
nativeBuildInputs = [
pkg-config
autoreconfHook
wrapGAppsHook3
];
buildInputs = [
gtkmm3
libpulseaudio
];
meta = with lib; {
description = "Free software metronome and tempo measurement tool";
homepage = "https://gitlab.gnome.org/dqpb/gmetronome";
changelog = "https://gitlab.gnome.org/dqpb/gmetronome/-/blob/${src.rev}/NEWS";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ aleksana ];
mainProgram = "gmetronome";
broken = stdenv.hostPlatform.isDarwin;
};
}