2016-06-30 11:54:50 +00:00
|
|
|
{ stdenv, fetchurl, alsaLib, cmake, docbook_xsl, docbook_xml_dtd_45, doxygen
|
|
|
|
, fluidsynth, pkgconfig, qt5
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "drumstick";
|
2019-09-26 12:10:24 +00:00
|
|
|
version = "1.1.3";
|
2016-06-30 11:54:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/drumstick/${version}/${pname}-${version}.tar.bz2";
|
2019-09-26 12:10:24 +00:00
|
|
|
sha256 = "1n9wvg79yvkygrkc8xd8pgrd3d7hqmr7gh24dccf0px23lla9b3m";
|
2016-06-30 11:54:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "man" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-12 17:55:30 +00:00
|
|
|
#Temporarily remove drumstick-piano; Gives segment fault. Submitted ticket
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/bin/drumstick-vpiano
|
|
|
|
'';
|
|
|
|
|
2017-10-07 12:51:12 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_45 ];
|
2016-06-30 11:54:50 +00:00
|
|
|
buildInputs = [
|
2017-03-12 17:55:30 +00:00
|
|
|
alsaLib doxygen fluidsynth qt5.qtbase qt5.qtsvg
|
2016-06-30 11:54:50 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
maintainers = with maintainers; [ solson ];
|
|
|
|
description = "MIDI libraries for Qt5/C++";
|
|
|
|
homepage = http://drumstick.sourceforge.net/;
|
|
|
|
license = licenses.gpl2Plus;
|
2017-03-12 17:55:30 +00:00
|
|
|
platforms = platforms.linux;
|
2016-06-30 11:54:50 +00:00
|
|
|
};
|
|
|
|
}
|