mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
guitarix: use fetchFromGitHub
This commit is contained in:
parent
af7b0f1bd8
commit
3f3b3e4705
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, avahi
|
||||
, bluez
|
||||
, boost
|
||||
@ -45,11 +45,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "guitarix";
|
||||
version = "0.46.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/brummer10/guitarix/releases/download/V${finalAttrs.version}/guitarix2-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-xmC+s/Fs3EVdmebwdM1uorHxDB38SA6EIQRhY33JjEQ=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "brummer10";
|
||||
repo = "guitarix";
|
||||
rev = "V${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-AftC6fQEDzG/3C/83YbK/++bRgP7vPD0E2X6KEWpowc=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/trunk";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
hicolor-icon-theme
|
||||
|
Loading…
Reference in New Issue
Block a user