at 23.11-beta 44 lines 1.1 kB view raw
1{ lib, stdenv, fetchurl 2, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook 3, alsa-lib, fluidsynth, libpulseaudio, qtbase, qtsvg, sonivox 4}: 5 6stdenv.mkDerivation rec { 7 pname = "drumstick"; 8 version = "2.7.2"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2"; 12 hash = "sha256-5XxG5ur584fgW4oCONgMiWzV48Q02HEdmpb9+YhBFe0="; 13 }; 14 15 patches = [ 16 ./drumstick-plugins.patch 17 ]; 18 19 postPatch = '' 20 substituteInPlace library/rt/backendmanager.cpp --subst-var out 21 ''; 22 23 outputs = [ "out" "dev" "man" ]; 24 25 nativeBuildInputs = [ 26 cmake docbook_xml_dtd_45 docbook_xml_dtd_45 docbook_xsl doxygen graphviz-nox pkg-config qttools wrapQtAppsHook 27 ]; 28 29 buildInputs = [ 30 alsa-lib fluidsynth libpulseaudio qtbase qtsvg sonivox 31 ]; 32 33 cmakeFlags = [ 34 "-DUSE_DBUS=ON" 35 ]; 36 37 meta = with lib; { 38 maintainers = []; 39 description = "MIDI libraries for Qt5/C++"; 40 homepage = "https://drumstick.sourceforge.io/"; 41 license = licenses.gpl2Plus; 42 platforms = platforms.linux; 43 }; 44}