guitarix: 0.44.1 -> 0.46.0

This commit is contained in:
Lord-Valen 2024-03-29 18:25:51 -04:00
parent c949c1cacd
commit af7b0f1bd8
No known key found for this signature in database
GPG Key ID: 5DEE1DF49CC27E39
1 changed files with 4 additions and 20 deletions

View File

@ -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;