fastly: 10.13.3 -> 10.14.0
This commit is contained in:
parent
1c299233a4
commit
6316f21759
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fastly";
|
pname = "fastly";
|
||||||
version = "10.13.3";
|
version = "10.14.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fastly";
|
owner = "fastly";
|
||||||
repo = "cli";
|
repo = "cli";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-tjaYsvCj0Vy0DyTgoZthtQhYYLuBw1+ncVdb9rB71Vw=";
|
hash = "sha256-bYxA/+bzbam7fT9kAPZ7W5gLDu8l5vowL26OrD+qlCA=";
|
||||||
# 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-WZfaIoVwLMoXU/NLVQAiwH6SuEU0BEKy4Vg887K6c6o=";
|
vendorHash = "sha256-innmJ40h80SFx8dRVsY4vR5QehFuavkl357zShXiyIE=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
@ -52,8 +52,8 @@ buildGoModule rec {
|
|||||||
];
|
];
|
||||||
preBuild = let
|
preBuild = let
|
||||||
cliConfigToml = fetchurl {
|
cliConfigToml = fetchurl {
|
||||||
url = "https://web.archive.org/web/20231130153524/https://developer.fastly.com/api/internal/cli-config";
|
url = "https://web.archive.org/web/20240910172801/https://developer.fastly.com/api/internal/cli-config";
|
||||||
hash = "sha256-ZKr6D4DI+lr8FDjfLMgpn4Zq4i5kiwcLEDEScuuCBBw=";
|
hash = "sha256-r4ahroyU4hyTN88UK02FvXU8OTQ6OoNInt9WrzZk7Bk=";
|
||||||
};
|
};
|
||||||
in ''
|
in ''
|
||||||
cp ${cliConfigToml} ./pkg/config/config.toml
|
cp ${cliConfigToml} ./pkg/config/config.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user