solfege: fix failing build
This commit is contained in:
parent
0edd143cb8
commit
1588178f28
@ -2,6 +2,7 @@
|
|||||||
, buildPythonApplication, pycairo, pygobject3
|
, buildPythonApplication, pycairo, pygobject3
|
||||||
, gobject-introspection, gtk3, librsvg
|
, gobject-introspection, gtk3, librsvg
|
||||||
, alsa-utils, timidity, mpg123, vorbis-tools, csound, lilypond
|
, alsa-utils, timidity, mpg123, vorbis-tools, csound, lilypond
|
||||||
|
, automake, autoconf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
@ -9,7 +10,7 @@ buildPythonApplication rec {
|
|||||||
version = "3.23.4";
|
version = "3.23.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/solfege/solfege-${version}.tar.gz";
|
url = "https://alpha.gnu.org/gnu/solfege/solfege-${version}.tar.gz";
|
||||||
sha256 = "0sc17vf4xz6gy0s0z9ghi68yskikdmyb4gdaxx6imrm40734k8mp";
|
sha256 = "0sc17vf4xz6gy0s0z9ghi68yskikdmyb4gdaxx6imrm40734k8mp";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -20,9 +21,34 @@ buildPythonApplication rec {
|
|||||||
./webbrowser.patch
|
./webbrowser.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ gettext pkg-config texinfo wrapGAppsHook ];
|
preConfigure = ''
|
||||||
buildInputs = [ gobject-introspection gtk3 librsvg ];
|
aclocal
|
||||||
propagatedBuildInputs = [ pycairo pygobject3 ];
|
autoconf
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
automake
|
||||||
|
autoconf
|
||||||
|
|
||||||
|
gettext
|
||||||
|
pkg-config
|
||||||
|
texinfo
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/56943#issuecomment-1131643663
|
||||||
|
gobject-introspection
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gobject-introspection
|
||||||
|
gtk3
|
||||||
|
librsvg
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pycairo
|
||||||
|
pygobject3
|
||||||
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
sed -i -e 's|wav_player=.*|wav_player=${alsa-utils}/bin/aplay|' \
|
sed -i -e 's|wav_player=.*|wav_player=${alsa-utils}/bin/aplay|' \
|
||||||
|
Loading…
Reference in New Issue
Block a user