guitarix: use fetchFromGitHub

This commit is contained in:
Lord-Valen 2024-04-05 15:17:59 -04:00
parent af7b0f1bd8
commit 3f3b3e4705
No known key found for this signature in database
GPG Key ID: 5DEE1DF49CC27E39

View File

@ -1,6 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchurl , fetchFromGitHub
, avahi , avahi
, bluez , bluez
, boost , boost
@ -45,11 +45,16 @@ stdenv.mkDerivation (finalAttrs: {
pname = "guitarix"; pname = "guitarix";
version = "0.46.0"; version = "0.46.0";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/brummer10/guitarix/releases/download/V${finalAttrs.version}/guitarix2-${finalAttrs.version}.tar.xz"; owner = "brummer10";
sha256 = "sha256-xmC+s/Fs3EVdmebwdM1uorHxDB38SA6EIQRhY33JjEQ="; repo = "guitarix";
rev = "V${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-AftC6fQEDzG/3C/83YbK/++bRgP7vPD0E2X6KEWpowc=";
}; };
sourceRoot = "${finalAttrs.src.name}/trunk";
nativeBuildInputs = [ nativeBuildInputs = [
gettext gettext
hicolor-icon-theme hicolor-icon-theme