3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/kmetronome/default.nix

26 lines
727 B
Nix
Raw Normal View History

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