diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 5b3ef56dc18a..f6396dcd2700 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchurl -, fetchpatch , avahi , bluez , boost @@ -44,28 +43,13 @@ in stdenv.mkDerivation (finalAttrs: { pname = "guitarix"; - version = "0.44.1"; + version = "0.46.0"; src = fetchurl { - url = "mirror://sourceforge/guitarix/guitarix2-${finalAttrs.version}.tar.xz"; - sha256 = "d+g9dU9RrDjFQj847rVd5bPiYSjmC1EbAtLe/PNubBg="; + url = "https://github.com/brummer10/guitarix/releases/download/V${finalAttrs.version}/guitarix2-${finalAttrs.version}.tar.xz"; + sha256 = "sha256-xmC+s/Fs3EVdmebwdM1uorHxDB38SA6EIQRhY33JjEQ="; }; - patches = [ - (fetchpatch { - name = "gcc13-fixes.patch"; - url = "https://github.com/brummer10/guitarix/commit/b52736180b6966f24398f8a5ad179a58173473ec.patch"; - hash = "sha256-+jilgLujy/B6ijUb8NHzt3+4IKCt17X8LmuMLdmsvGw="; - relative = "trunk"; - }) - ]; - - # doesnt apply cleanly, so doing with substituteInPlace - # https://github.com/brummer10/guitarix/commit/39d7c21c4173eb0f121b1bbff439d9cf43331a00.patch - postPatch = '' - substituteInPlace wscript --replace "open(src_fname, 'rU')" "open(src_fname, 'r')" - ''; - nativeBuildInputs = [ gettext hicolor-icon-theme @@ -140,7 +124,7 @@ stdenv.mkDerivation (finalAttrs: { clean-sounds, nice overdrive, fat distortion and a diversity of crazy sounds never heard before. ''; - homepage = "http://guitarix.sourceforge.net/"; + homepage = "https://github.com/brummer10/guitarix"; license = licenses.gpl3Plus; maintainers = with maintainers; [ astsmtl goibhniu ]; platforms = platforms.linux;