Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 48 lines 794 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 alsa-lib, 6 fluidsynth, 7 libjack2, 8 cmake, 9 pkg-config, 10 qtbase, 11 qttools, 12 qtx11extras, 13 wrapQtAppsHook, 14}: 15 16stdenv.mkDerivation rec { 17 pname = "qsynth"; 18 version = "1.0.3"; 19 20 src = fetchurl { 21 url = "mirror://sourceforge/qsynth/${pname}-${version}.tar.gz"; 22 hash = "sha256-z4l+Ku3oEQV3NunkogyxzaSKhFJuYhIxlExJsACcumY="; 23 }; 24 25 nativeBuildInputs = [ 26 cmake 27 pkg-config 28 wrapQtAppsHook 29 ]; 30 31 buildInputs = [ 32 alsa-lib 33 fluidsynth 34 libjack2 35 qtbase 36 qttools 37 qtx11extras 38 ]; 39 40 meta = with lib; { 41 description = "Fluidsynth GUI"; 42 mainProgram = "qsynth"; 43 homepage = "https://sourceforge.net/projects/qsynth"; 44 license = licenses.gpl2Plus; 45 maintainers = [ ]; 46 platforms = platforms.linux; 47 }; 48}