@@ -1,23 +1,17 @@
1−{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, qtbase, qttools, qtx11extras, cmake, pkgconfig }:
1+{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, qt5, autoconf, pkgconfig }:
22
33stdenv.mkDerivation rec {
44 name = "qsynth-${version}";
5− version = "0.5.2";
5+ version = "0.5.5";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/qsynth/${name}.tar.gz";
9− sha256 = "1rfkaxq1pyc4hv3l0i6wicianbcbm1wp53kh9i5d4jsljgisd1dv";
9+ sha256 = "08x7znvbwi9miavcarymi7dsv8njmxzwzma20dbmz8j2aswm53w5";
1010 };
1111
12− # cmake is looking for qsynth.desktop.in and fails if it doesn't find it
13− # seems like a bug and can presumable go in the next version after 0.5.2
14− postPatch = ''
15− mv src/qsynth.desktop src/qsynth.desktop.in
16− '';
12+ nativeBuildInputs = [ autoconf pkgconfig ];
1713
18− nativeBuildInputs = [ cmake pkgconfig ];
19−
20− buildInputs = [ alsaLib fluidsynth libjack2 qtbase qttools qtx11extras ];
14+ buildInputs = [ alsaLib fluidsynth libjack2 qt5.qtbase qt5.qttools qt5.qtx11extras ];
2115
2216 enableParallelBuilding = true;
2317