aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/audio/kmetronome/default.nix
blob: 30a4d5f3684a4e26a962f27b599bb9abb94ea3c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
  };
}