2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config
|
2017-12-27 03:45:54 +01:00
|
|
|
, libjack2, gettext, intltool, guile_2_0, lilypond
|
|
|
|
, glib, libxml2, librsvg, libsndfile, aubio
|
|
|
|
, gtk3, gtksourceview, evince, fluidsynth, rubberband
|
2019-11-06 16:50:14 +01:00
|
|
|
, portaudio, portmidi, fftw, wrapGAppsHook }:
|
2017-12-27 03:45:54 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "denemo";
|
2022-03-13 08:51:02 +01:00
|
|
|
version = "2.6.0";
|
2017-12-27 03:45:54 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://ftp.gnu.org/gnu/denemo/denemo-${version}.tar.gz";
|
2022-03-13 08:51:02 +01:00
|
|
|
sha256 = "sha256-S+WXDGmEf5fx+HYnXJdE5QNOfJg7EqEEX7IMI2SUtV0=";
|
2017-12-27 03:45:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2019-11-06 16:50:14 +01:00
|
|
|
libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
|
2017-12-27 03:45:54 +01:00
|
|
|
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
|
|
|
|
];
|
|
|
|
|
2019-11-06 16:50:14 +01:00
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix PATH : "${lilypond}/bin"
|
|
|
|
)
|
2017-12-27 03:45:54 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2019-11-06 16:50:14 +01:00
|
|
|
wrapGAppsHook
|
2017-12-27 03:45:54 +01:00
|
|
|
intltool
|
2019-11-06 16:50:14 +01:00
|
|
|
gettext
|
2021-01-19 07:50:56 +01:00
|
|
|
pkg-config
|
2017-12-27 03:45:54 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-12-27 03:45:54 +01:00
|
|
|
description = "Music notation and composition software used with lilypond";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://denemo.org";
|
2017-12-27 03:45:54 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.olynch ];
|
|
|
|
};
|
|
|
|
}
|