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

27 lines
757 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, alsa-lib, fluidsynth, libjack2, cmake, pkg-config
, qtbase, qttools, qtx11extras, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "qsynth";
version = "1.0.0";
src = fetchurl {
url = "mirror://sourceforge/qsynth/${pname}-${version}.tar.gz";
hash = "sha256-FOoqnJeh29J0clsqZ+wbhQmsaybrAbIqgeB7m/7Q+3M=";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
buildInputs = [ alsa-lib fluidsynth libjack2 qtbase qttools qtx11extras ];
meta = with lib; {
description = "Fluidsynth GUI";
mainProgram = "qsynth";
homepage = "https://sourceforge.net/projects/qsynth";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ goibhniu ];
platforms = platforms.linux;
};
}