envoy-bin: 1.35.1 -> 1.35.2 (#440175)

authored by

Adam C. Stephens and committed by
GitHub
eb5f0daf 7f9f3c50

+12 -14
+4 -6
pkgs/by-name/en/envoy-bin/package.nix
··· 8 8 versionCheckHook, 9 9 }: 10 10 let 11 - version = "1.35.1"; 11 + version = "1.35.2"; 12 12 inherit (stdenv.hostPlatform) system; 13 13 throwSystem = throw "envoy-bin is not available for ${system}."; 14 14 ··· 21 21 22 22 hash = 23 23 { 24 - aarch64-linux = "sha256-tIBXnm6bGdA6tlYFL+aDf1bOjlUVof0MDNDpFi0tcbE="; 25 - x86_64-linux = "sha256-emAbbVhEw0MA21rPxQD/z/p3yVuDi5JZg1yjuRkkmlo="; 24 + aarch64-linux = "sha256-XfV0d4l8yTsEF9hDXAFnd0wgtu+Hm6VaEfPfXHF9wdE="; 25 + x86_64-linux = "sha256-6Uo9Gya7lpkb5GAiB8yxIX81Yw1BWurBUF1ooDuJc9w="; 26 26 } 27 27 .${system} or throwSystem; 28 28 in ··· 65 65 description = "Cloud-native edge and service proxy"; 66 66 license = lib.licenses.asl20; 67 67 sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; 68 - maintainers = with lib.maintainers; [ 69 - adamcstephens 70 - ]; 68 + maintainers = with lib.maintainers; [ ]; 71 69 mainProgram = "envoy"; 72 70 platforms = [ 73 71 "x86_64-linux"
+8 -8
pkgs/by-name/en/envoy-bin/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p curl gnused gawk nix-prefetch common-updater-scripts jq 2 + #!nix-shell -i bash -p common-updater-scripts coreutils gnused ripgrep 3 3 4 4 set -euo pipefail 5 5 6 6 ROOT="$(dirname "$(readlink -f "$0")")" 7 7 NIX_DRV="$ROOT/package.nix" 8 8 if [ ! -f "$NIX_DRV" ]; then 9 - echo "ERROR: cannot find package.nix in $ROOT" 10 - exit 1 9 + echo "ERROR: cannot find package.nix in $ROOT" 10 + exit 1 11 11 fi 12 12 13 13 fetch_arch() { 14 - VER="$1" 15 - ARCH="$2" 16 - URL="https://github.com/envoyproxy/envoy/releases/download/v${VER}/envoy-${VER}-linux-${ARCH}" 17 - nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$URL")" 14 + VER="$1" 15 + ARCH="$2" 16 + URL="https://github.com/envoyproxy/envoy/releases/download/v${VER}/envoy-${VER}-linux-${ARCH}" 17 + nix --extra-experimental-features nix-command hash convert --to sri --hash-algo sha256 "$(nix-prefetch-url --type sha256 "$URL")" 18 18 } 19 19 20 20 replace_hash() { 21 - sed -i "s#$1 = \"sha256-.\{44\}\"#$1 = \"$2\"#" "$NIX_DRV" 21 + sed -i "s#$1 = \"sha256-.\{44\}\"#$1 = \"$2\"#" "$NIX_DRV" 22 22 } 23 23 24 24 VER=$(list-git-tags --url=https://github.com/envoyproxy/envoy | rg 'v[0-9\.]*$' | sed -e 's/^v//' | sort -V | tail -n 1)