3fc66462de
Fixes $ qsynth qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Aborted (core dumped) (Also, take qt5.* attrs as input instead of the whole qt5 attrset itself.)
27 lines
745 B
Nix
27 lines
745 B
Nix
{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, autoconf, pkgconfig
|
|
, mkDerivation, qtbase, qttools, qtx11extras
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qsynth";
|
|
version = "0.5.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/qsynth/${pname}-${version}.tar.gz";
|
|
sha256 = "18im4w8agj60nkppwbkxqnhpp13z5li3w30kklv4lgs20rvgbvl6";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf pkgconfig ];
|
|
|
|
buildInputs = [ alsaLib fluidsynth libjack2 qtbase qttools qtx11extras ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Fluidsynth GUI";
|
|
homepage = https://sourceforge.net/projects/qsynth;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|