2021-01-18 22:50:56 -08:00
|
|
|
{ lib, stdenv, fetchurl, cmake, pkg-config, qttools, alsaLib, drumstick, qtbase, qtsvg }:
|
2020-08-07 20:34:33 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kmetronome";
|
2021-04-26 13:30:50 -07:00
|
|
|
version = "1.2.0";
|
2020-08-07 20:34:33 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
|
2021-04-26 13:30:50 -07:00
|
|
|
sha256 = "1ln0nm24w6bj7wc8cay08j5azzznigd39cbbw3h4skg6fxd8p0s7";
|
2020-08-07 20:34:33 -07:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ cmake pkg-config qttools ];
|
2020-08-07 20:34:33 -07:00
|
|
|
|
|
|
|
buildInputs = [ alsaLib drumstick qtbase qtsvg ];
|
|
|
|
|
2021-01-12 03:50:23 -08:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-08-07 20:34:33 -07:00
|
|
|
homepage = "https://kmetronome.sourceforge.io/";
|
|
|
|
description = "ALSA MIDI metronome with Qt interface";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|