mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #16621 from solson/drumstick
drumstick: init at 1.0.2
This commit is contained in:
commit
08939189e1
3 changed files with 44 additions and 0 deletions
|
@ -358,6 +358,7 @@
|
|||
skrzyp = "Jakub Skrzypnik <jot.skrzyp@gmail.com>";
|
||||
sleexyz = "Sean Lee <freshdried@gmail.com>";
|
||||
smironov = "Sergey Mironov <ierton@gmail.com>";
|
||||
solson = "Scott Olson <scott@solson.me>";
|
||||
spacefrogg = "Michael Raitza <spacefrogg-nixos@meterriblecrew.net>";
|
||||
spencerjanssen = "Spencer Janssen <spencerjanssen@gmail.com>";
|
||||
spinus = "Tomasz Czyż <tomasz.czyz@gmail.com>";
|
||||
|
|
41
pkgs/development/libraries/drumstick/default.nix
Normal file
41
pkgs/development/libraries/drumstick/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv, fetchurl, alsaLib, cmake, docbook_xsl, docbook_xml_dtd_45, doxygen
|
||||
, fluidsynth, pkgconfig, qt5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "drumstick-${version}";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/drumstick/${version}/${name}.tar.bz2";
|
||||
sha256 = "0l47gy9yywrc860db5g3wdqg8yc8qdb2lqq6wvw1dfim5j0vbail";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Prevent the manpage builds from attempting to access the Internet.
|
||||
prePatch = ''
|
||||
substituteInPlace cmake_admin/CreateManpages.cmake --replace \
|
||||
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
|
||||
${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl
|
||||
|
||||
for xml in doc/*.xml.in; do
|
||||
substituteInPlace "$xml" --replace \
|
||||
http://www.docbook.org/xml/4.5/docbookx.dtd \
|
||||
${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd
|
||||
done
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
alsaLib cmake doxygen fluidsynth pkgconfig 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;
|
||||
};
|
||||
}
|
|
@ -4259,6 +4259,8 @@ in
|
|||
|
||||
devpi-client = callPackage ../development/tools/devpi-client {};
|
||||
|
||||
drumstick = callPackage ../development/libraries/drumstick { };
|
||||
|
||||
ecl = callPackage ../development/compilers/ecl { };
|
||||
|
||||
eql = callPackage ../development/compilers/eql {};
|
||||
|
|
Loading…
Reference in a new issue