nixpkgs/pkgs/applications/audio/qsynth/default.nix

32 lines
951 B
Nix
Raw Normal View History

2017-12-07 13:44:11 +01:00
{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, qtbase, qttools, qtx11extras, cmake, pkgconfig }:
stdenv.mkDerivation rec {
name = "qsynth-${version}";
version = "0.5.1";
src = fetchurl {
url = "mirror://sourceforge/qsynth/${name}.tar.gz";
sha256 = "0kpk1rnhbifbvm4xvw8i0d4ksk78pf505qvg08k89kqkg32494ap";
};
2017-12-26 04:18:10 +01:00
# cmake is looking for qsynth.desktop.in and fails if it doesn't find it
# seems like a bug and can presumable go in the next version after 0.5.1
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 ];
2017-12-26 04:18:10 +01:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Fluidsynth GUI";
homepage = https://sourceforge.net/projects/qsynth;
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;
};
}