Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 835 B view raw
1{ 2 mkDerivation, 3 lib, 4 fetchurl, 5 pkg-config, 6 qtbase, 7 qttools, 8 alsa-lib, 9 libjack2, 10}: 11 12mkDerivation rec { 13 version = "0.9.4"; 14 pname = "qmidinet"; 15 16 src = fetchurl { 17 url = "mirror://sourceforge/qmidinet/${pname}-${version}.tar.gz"; 18 sha256 = "sha256-7Ui4kUgYgpPVAaaINrd6WGZoYon5UuHszGVaHafb/p0="; 19 }; 20 21 hardeningDisable = [ "format" ]; 22 23 buildInputs = [ 24 qtbase 25 qttools 26 alsa-lib 27 libjack2 28 ]; 29 30 nativeBuildInputs = [ pkg-config ]; 31 32 meta = with lib; { 33 description = "MIDI network gateway application that sends and receives MIDI data (ALSA Sequencer and/or JACK MIDI) over the network"; 34 mainProgram = "qmidinet"; 35 homepage = "http://qmidinet.sourceforge.net/"; 36 license = licenses.gpl2Plus; 37 maintainers = [ maintainers.magnetophon ]; 38 platforms = platforms.linux; 39 }; 40}