2017-12-07 13:44:11 +01:00
|
|
|
{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, qtbase, qttools, qtx11extras, cmake, pkgconfig }:
|
2012-03-31 22:22:19 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "qsynth-${version}";
|
2018-08-08 12:03:33 +02:00
|
|
|
version = "0.5.2";
|
2012-03-31 22:22:19 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/qsynth/${name}.tar.gz";
|
2018-08-08 12:03:33 +02:00
|
|
|
sha256 = "1rfkaxq1pyc4hv3l0i6wicianbcbm1wp53kh9i5d4jsljgisd1dv";
|
2012-03-31 22:22:19 +02:00
|
|
|
};
|
|
|
|
|
2017-12-26 04:18:10 +01:00
|
|
|
# cmake is looking for qsynth.desktop.in and fails if it doesn't find it
|
2018-08-08 12:03:33 +02:00
|
|
|
# seems like a bug and can presumable go in the next version after 0.5.2
|
2017-12-26 04:18:10 +01:00
|
|
|
postPatch = ''
|
|
|
|
mv src/qsynth.desktop src/qsynth.desktop.in
|
|
|
|
'';
|
|
|
|
|
2017-12-07 13:44:11 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib fluidsynth libjack2 qtbase qttools qtx11extras ];
|
2012-03-31 22:22:19 +02:00
|
|
|
|
2017-12-26 04:18:10 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2012-03-31 22:22:19 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Fluidsynth GUI";
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://sourceforge.net/projects/qsynth;
|
2012-03-31 22:22:19 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2017-12-26 04:18:10 +01:00
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
2014-01-19 12:26:35 +01:00
|
|
|
platforms = platforms.linux;
|
2012-03-31 22:22:19 +02:00
|
|
|
};
|
|
|
|
}
|