fretboard: 5.4 -> 6.1

This commit is contained in:
Michael Evans 2024-04-23 21:48:09 +02:00 committed by Matthieu Coudron
parent 0b37ccc824
commit 6487cc2821

View File

@ -16,21 +16,21 @@
, wrapGAppsHook4 , wrapGAppsHook4
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "fretboard"; pname = "fretboard";
version = "5.4"; version = "6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bragefuglseth"; owner = "bragefuglseth";
repo = "fretboard"; repo = "fretboard";
rev = "v${version}"; rev = "v${finalAttrs.version}";
hash = "sha256-GqnwAB7hmg2QLwSWqrZtTp6+FybK8/v4GZx/lMi0dGY="; hash = "sha256-Jr7DxoOmggcAxU1y+2jXZvMgAf9SDSA7t5Jr2AYZV7s=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; src = finalAttrs.src;
name = "${pname}-${version}"; name = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-sGvb1+HKIqNSgCV9UzkCrkGrpjA34Pe9eq2/w3K/w/E="; hash = "sha256-P7dafWBaHVrxh30YxKiraKPMjtmGTTNd8qvoJ1M2vKI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -58,12 +58,12 @@ stdenv.mkDerivation rec {
]); ]);
meta = with lib; { meta = with lib; {
changelog = "https://github.com/bragefuglseth/fretboard/releases/tag/v${finalAttrs.version}";
description = "Look up guitar chords"; description = "Look up guitar chords";
homepage = "https://github.com/bragefuglseth/fretboard"; homepage = "https://apps.gnome.org/Fretboard/";
changelog = "https://github.com/bragefuglseth/fretboard/releases/tag/v${version}";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ michaelgrahamevans ];
mainProgram = "fretboard"; mainProgram = "fretboard";
maintainers = with maintainers; [ michaelgrahamevans ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} })