nixpkgs-suyu/pkgs/development/libraries/drumstick/default.nix
R. RyanTM 8d71f4a44c drumstick: 1.1.1 -> 1.1.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/drumstick/versions
2018-12-16 01:50:16 -08:00

35 lines
980 B
Nix

{ stdenv, fetchurl, alsaLib, cmake, docbook_xsl, docbook_xml_dtd_45, doxygen
, fluidsynth, pkgconfig, qt5
}:
stdenv.mkDerivation rec {
name = "drumstick-${version}";
version = "1.1.2";
src = fetchurl {
url = "mirror://sourceforge/drumstick/${version}/${name}.tar.bz2";
sha256 = "0kljqyqj7s1i2z52i24x7ail1bywn6dcxxfbad5c59drm8wv94bp";
};
outputs = [ "out" "dev" "man" ];
enableParallelBuilding = true;
#Temporarily remove drumstick-piano; Gives segment fault. Submitted ticket
postInstall = ''
rm $out/bin/drumstick-vpiano
'';
nativeBuildInputs = [ cmake pkgconfig docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_45 ];
buildInputs = [
alsaLib doxygen fluidsynth qt5.qtbase qt5.qtsvg
];
meta = with stdenv.lib; {
maintainers = with maintainers; [ solson ];
description = "MIDI libraries for Qt5/C++";
homepage = http://drumstick.sourceforge.net/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}