2024-04-21 15:54:59 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, pandoc, pkg-config, qttools, alsa-lib, drumstick, qtbase, qtsvg }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kmetronome";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.4.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-51uFAPR0xsY3z9rFc8SdSGu4ae/VzUmC1qC8RGdt48Y=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
nativeBuildInputs = [ cmake pandoc pkg-config qttools ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ alsa-lib drumstick qtbase qtsvg ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://kmetronome.sourceforge.io/";
|
|
|
|
description = "ALSA MIDI metronome with Qt interface";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "kmetronome";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|