1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00

denemo: add WrapGAppsHook

closes #52958

remove wrapProgram in favor of gappsWrapperArgs
move gettext and pkgconfig to nativeBuildInputs
This commit is contained in:
Kyle Sferrazza 2019-11-06 10:50:14 -05:00
parent d793d53b0d
commit 5f373708dd
No known key found for this signature in database
GPG key ID: 81A1540948162372

View file

@ -2,7 +2,7 @@
, libjack2, gettext, intltool, guile_2_0, lilypond
, glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband
, portaudio, portmidi, fftw, makeWrapper }:
, portaudio, portmidi, fftw, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "denemo";
@ -14,17 +14,21 @@ stdenv.mkDerivation rec {
};
buildInputs = [
libjack2 gettext guile_2_0 lilypond pkgconfig glib libxml2 librsvg libsndfile
libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/denemo --prefix PATH : ${lilypond}/bin
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lilypond}/bin"
)
'';
nativeBuildInputs = [
wrapGAppsHook
intltool
gettext
pkgconfig
];
meta = with stdenv.lib; {