lol
1{ lib, stdenv, fetchurl, pkg-config
2, libjack2, gettext, intltool, guile_2_0, lilypond
3, glib, libxml2, librsvg, libsndfile, aubio
4, gtk3, gtksourceview, evince, fluidsynth, rubberband
5, portaudio, portmidi, fftw, wrapGAppsHook }:
6
7stdenv.mkDerivation rec {
8 pname = "denemo";
9 version = "2.5.0";
10
11 src = fetchurl {
12 url = "https://ftp.gnu.org/gnu/denemo/denemo-${version}.tar.gz";
13 sha256 = "sha256-B6GbBL/o/z0emT+Iw6XvWmAsJCmIwSGCyV1DkhDyfBY=";
14 };
15
16 buildInputs = [
17 libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
18 aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
19 ];
20
21 preFixup = ''
22 gappsWrapperArgs+=(
23 --prefix PATH : "${lilypond}/bin"
24 )
25 '';
26
27 nativeBuildInputs = [
28 wrapGAppsHook
29 intltool
30 gettext
31 pkg-config
32 ];
33
34 meta = with lib; {
35 description = "Music notation and composition software used with lilypond";
36 homepage = "http://denemo.org";
37 license = licenses.gpl3;
38 platforms = platforms.linux;
39 maintainers = [ maintainers.olynch ];
40 };
41}