fastly: 8.2.1 -> 8.2.4

This commit is contained in:
R. Ryantm 2023-04-12 08:34:02 +00:00 committed by Rafael Fernández López
parent 17e5b52483
commit a9dc0f01a5
No known key found for this signature in database
GPG key ID: A07C55EEE4CCE570

View file

@ -10,13 +10,13 @@
buildGoModule rec { buildGoModule rec {
pname = "fastly"; pname = "fastly";
version = "8.2.1"; version = "8.2.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fastly"; owner = "fastly";
repo = "cli"; repo = "cli";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-QJNXmSM8xIw8gN3rB1mGT7GRf1nx0Y0Z+8yf0gjddBo="; hash = "sha256-31lXYqve1vYRwfNJWT1auWti8vHUqsqEtMr2dgPokLU=";
# The git commit is part of the `fastly version` original output; # The git commit is part of the `fastly version` original output;
# leave that output the same in nixpkgs. Use the `.git` directory # leave that output the same in nixpkgs. Use the `.git` directory
# to retrieve the commit SHA, and remove the directory afterwards, # to retrieve the commit SHA, and remove the directory afterwards,
@ -33,7 +33,7 @@ buildGoModule rec {
"cmd/fastly" "cmd/fastly"
]; ];
vendorHash = "sha256-lNb/RPL+MM2NeAVzGWfkrYJz+z8Lb9jPRmQP9Ht5Meo="; vendorHash = "sha256-FxG9AQNVBS2T43VB5u8GG2GgGwjf2pGLH9jsBMOK2Fw=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -52,8 +52,8 @@ buildGoModule rec {
]; ];
preBuild = let preBuild = let
cliConfigToml = fetchurl { cliConfigToml = fetchurl {
url = "https://web.archive.org/web/20230308181550/https://developer.fastly.com/api/internal/cli-config"; url = "https://web.archive.org/web/20230412222811/https://developer.fastly.com/api/internal/cli-config";
hash = "sha256-Y2KBTiUQlugKjfhOY+8W7/IUSjgeRVc2NgmL+nhb6aQ="; hash = "sha256-NACjeBGOvBL6kUBZtSx4ChZgn7V69f4K2yyDCwTZsbU=";
}; };
in '' in ''
cp ${cliConfigToml} ./pkg/config/config.toml cp ${cliConfigToml} ./pkg/config/config.toml