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