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