forked from mirrors/nixpkgs
bbbd9e251b
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/qsynth/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/v9m2gbw7l68qb4m5milqc8d2wfrafx97-qsynth-0.5.1/bin/qsynth had a zero exit code or showed the expected version - 0 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 0.5.1 with grep in /nix/store/v9m2gbw7l68qb4m5milqc8d2wfrafx97-qsynth-0.5.1 - directory tree listing: https://gist.github.com/f7434d80382444c8ae9ba52dd07e27a7 - du listing: https://gist.github.com/1c209e5c3a841d8d8e1d3257c2dad992
32 lines
951 B
Nix
32 lines
951 B
Nix
{ 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";
|
|
};
|
|
|
|
# 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
|
|
postPatch = ''
|
|
mv src/qsynth.desktop src/qsynth.desktop.in
|
|
'';
|
|
|
|
nativeBuildInputs = [ cmake 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;
|
|
};
|
|
}
|