diff --git a/pkgs/by-name/fo/foot/package.nix b/pkgs/by-name/fo/foot/package.nix index 34d21354f255..987028a8d096 100644 --- a/pkgs/by-name/fo/foot/package.nix +++ b/pkgs/by-name/fo/foot/package.nix @@ -27,7 +27,7 @@ }: let - version = "1.22.0"; + version = "1.22.2"; # build stimuli file for PGO build and the script to generate it # independently of the foot's build, so we can cache the result @@ -103,8 +103,8 @@ stdenv.mkDerivation { domain = "codeberg.org"; owner = "dnkl"; repo = "foot"; - rev = version; - hash = "sha256-OCDFfOEyE8CrgisswSfPXH1rNoaM1C1ztm9R77P0MOk="; + tag = version; + hash = "sha256-eX9nSAl2pHbJU8g80q3RifDlFh00LSi8GvYU4+rlIsA="; }; separateDebugInfo = true; @@ -200,6 +200,9 @@ stdenv.mkDerivation { "themes" ]; + passthru = { inherit stimulusGenerator; }; + passthru.updateScript = ./update.sh; + passthru.tests = { clang-default-compilation = foot.override { inherit (llvmPackages) stdenv; diff --git a/pkgs/by-name/fo/foot/update.sh b/pkgs/by-name/fo/foot/update.sh new file mode 100755 index 000000000000..2af7c8398d19 --- /dev/null +++ b/pkgs/by-name/fo/foot/update.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash +#!nix-shell -p nix-update + +nix-update foot +nix-update --version=skip foot.stimulusGenerator