guitarix: use fetchFromGitHub
This commit is contained in:
parent
af7b0f1bd8
commit
3f3b3e4705
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user