2016-06-30 13:54:50 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, cmake, docbook_xsl, docbook_xml_dtd_45, doxygen
|
|
|
|
, fluidsynth, pkgconfig, qt5
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "drumstick-${version}";
|
2018-12-16 10:50:16 +01:00
|
|
|
version = "1.1.2";
|
2016-06-30 13:54:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/drumstick/${version}/${name}.tar.bz2";
|
2018-12-16 10:50:16 +01:00
|
|
|
sha256 = "0kljqyqj7s1i2z52i24x7ail1bywn6dcxxfbad5c59drm8wv94bp";
|
2016-06-30 13:54:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "man" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-12 18:55:30 +01:00
|
|
|
#Temporarily remove drumstick-piano; Gives segment fault. Submitted ticket
|
|
|
|
postInstall = ''
|
|
|
|
rm $out/bin/drumstick-vpiano
|
|
|
|
'';
|
|
|
|
|
2017-10-07 14:51:12 +02:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_45 ];
|
2016-06-30 13:54:50 +02:00
|
|
|
buildInputs = [
|
2017-03-12 18:55:30 +01:00
|
|
|
alsaLib doxygen fluidsynth qt5.qtbase qt5.qtsvg
|
2016-06-30 13:54:50 +02: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 18:55:30 +01:00
|
|
|
platforms = platforms.linux;
|
2016-06-30 13:54:50 +02:00
|
|
|
};
|
|
|
|
}
|