3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/drumstick/default.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl
2021-04-26 21:30:24 +01:00
, cmake, docbook_xml_dtd_45, docbook_xsl, doxygen, graphviz-nox, pkg-config, qttools, wrapQtAppsHook
, alsaLib, fluidsynth, qtbase, qtsvg, libpulseaudio
2016-06-30 12:54:50 +01:00
}:
stdenv.mkDerivation rec {
pname = "drumstick";
2021-05-11 11:54:04 +01:00
version = "2.2.0";
2016-06-30 12:54:50 +01:00
src = fetchurl {
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
2021-05-11 11:54:04 +01:00
sha256 = "sha256-Ytus/kgL2Bs0vRQGROoJO9eO6lajOSaQLVjwsF4YypY=";
2016-06-30 12:54:50 +01:00
};
patches = [
./drumstick-plugins.patch
];
postPatch = ''
substituteInPlace library/rt/backendmanager.cpp --subst-var out
'';
2016-06-30 12:54:50 +01:00
outputs = [ "out" "dev" "man" ];
nativeBuildInputs = [
2021-04-26 21:30:24 +01:00
cmake docbook_xml_dtd_45 docbook_xml_dtd_45 docbook_xsl doxygen graphviz-nox pkg-config qttools wrapQtAppsHook
];
2017-03-12 17:55:30 +00:00
2016-06-30 12:54:50 +01:00
buildInputs = [
alsaLib fluidsynth libpulseaudio qtbase qtsvg
2016-06-30 12:54:50 +01:00
];
2021-04-26 21:30:24 +01:00
cmakeFlags = [
"-DUSE_DBUS=ON"
];
meta = with lib; {
2016-06-30 12:54:50 +01:00
maintainers = with maintainers; [ solson ];
description = "MIDI libraries for Qt5/C++";
homepage = "http://drumstick.sourceforge.net/";
2016-06-30 12:54:50 +01:00
license = licenses.gpl2Plus;
2017-03-12 17:55:30 +00:00
platforms = platforms.linux;
2016-06-30 12:54:50 +01:00
};
}