Merge pull request #295614 from Aleksanaa/fretboard

fretboard: 5.3 -> 5.4

authored by Weijia Wang and committed by GitHub 2025bd48 7826c4ff

+12 -5
+12 -5
pkgs/by-name/fr/fretboard/package.nix
··· 1 { lib 2 , blueprint-compiler 3 , cargo 4 , desktop-file-utils 5 , fetchFromGitHub 6 , glib ··· 17 18 stdenv.mkDerivation rec { 19 pname = "fretboard"; 20 - version = "5.3"; 21 22 src = fetchFromGitHub { 23 owner = "bragefuglseth"; 24 - repo = pname; 25 rev = "v${version}"; 26 - hash = "sha256-wwq4Xq6IVLF2hICk9HfCpfxpWer8PNWywD8p3wQdp6U="; 27 }; 28 29 cargoDeps = rustPlatform.fetchCargoTarball { 30 inherit src; 31 name = "${pname}-${version}"; 32 - hash = "sha256-H/dAKaYHxRmldny8EoasrcDROZhLo5UbHPAoMicDehA="; 33 }; 34 35 nativeBuildInputs = [ ··· 48 glib 49 gtk4 50 libadwaita 51 ]; 52 53 meta = with lib; { 54 description = "Look up guitar chords"; ··· 57 license = licenses.gpl3Plus; 58 maintainers = with maintainers; [ michaelgrahamevans ]; 59 mainProgram = "fretboard"; 60 - platforms = platforms.linux; 61 }; 62 }
··· 1 { lib 2 , blueprint-compiler 3 , cargo 4 + , darwin 5 , desktop-file-utils 6 , fetchFromGitHub 7 , glib ··· 18 19 stdenv.mkDerivation rec { 20 pname = "fretboard"; 21 + version = "5.4"; 22 23 src = fetchFromGitHub { 24 owner = "bragefuglseth"; 25 + repo = "fretboard"; 26 rev = "v${version}"; 27 + hash = "sha256-GqnwAB7hmg2QLwSWqrZtTp6+FybK8/v4GZx/lMi0dGY="; 28 }; 29 30 cargoDeps = rustPlatform.fetchCargoTarball { 31 inherit src; 32 name = "${pname}-${version}"; 33 + hash = "sha256-sGvb1+HKIqNSgCV9UzkCrkGrpjA34Pe9eq2/w3K/w/E="; 34 }; 35 36 nativeBuildInputs = [ ··· 49 glib 50 gtk4 51 libadwaita 52 + ] ++ lib.optionals stdenv.isDarwin [ 53 + darwin.apple_sdk.frameworks.Foundation 54 ]; 55 + 56 + env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [ 57 + "-Wno-error=incompatible-function-pointer-types" 58 + ]); 59 60 meta = with lib; { 61 description = "Look up guitar chords"; ··· 64 license = licenses.gpl3Plus; 65 maintainers = with maintainers; [ michaelgrahamevans ]; 66 mainProgram = "fretboard"; 67 + platforms = platforms.unix; 68 }; 69 }