170c3b4027
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
25 lines
725 B
Nix
25 lines
725 B
Nix
{ lib, stdenv, fetchurl, cmake, pkg-config, qttools, alsaLib, drumstick, qtbase, qtsvg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kmetronome";
|
|
version = "1.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "1ln0nm24w6bj7wc8cay08j5azzznigd39cbbw3h4skg6fxd8p0s7";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools ];
|
|
|
|
buildInputs = [ alsaLib drumstick qtbase qtsvg ];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://kmetronome.sourceforge.io/";
|
|
description = "ALSA MIDI metronome with Qt interface";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ orivej ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|