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