aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/kmetronome/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/kmetronome/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/audio/kmetronome/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/kmetronome/default.nix b/nixpkgs/pkgs/applications/audio/kmetronome/default.nix
new file mode 100644
index 00000000000..30a4d5f3684
--- /dev/null
+++ b/nixpkgs/pkgs/applications/audio/kmetronome/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchurl, cmake, pkgconfig, qttools, alsaLib, drumstick, qtbase, qtsvg }:
+
+stdenv.mkDerivation rec {
+ pname = "kmetronome";
+ version = "1.0.1";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
+ sha256 = "0bzm6vzlm32kjrgn1nvp096b2d41ybys2sk145nhy992wg56v32s";
+ };
+
+ nativeBuildInputs = [ cmake pkgconfig qttools ];
+
+ buildInputs = [ alsaLib drumstick qtbase qtsvg ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://kmetronome.sourceforge.io/";
+ description = "ALSA MIDI metronome with Qt interface";
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ orivej ];
+ platforms = platforms.linux;
+ };
+}