From bbf05a002ad6c6bdf34abef2a0971ca99de3b161 Mon Sep 17 00:00:00 2001 From: Michael Evans Date: Tue, 23 Apr 2024 21:48:09 +0200 Subject: [PATCH] fretboard: 5.4 -> 6.1 --- pkgs/by-name/fr/fretboard/package.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/fr/fretboard/package.nix b/pkgs/by-name/fr/fretboard/package.nix index fa772d61867fa..a4582832ae2d9 100644 --- a/pkgs/by-name/fr/fretboard/package.nix +++ b/pkgs/by-name/fr/fretboard/package.nix @@ -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; }; -} +})