mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
fastly: 5.1.1 -> 6.0.0
This commit is contained in:
parent
4d4c6bd87a
commit
1ef9f06820
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "fastly";
|
pname = "fastly";
|
||||||
version = "5.1.1";
|
version = "6.0.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-gPToEeLymKIRjL52wb5AjMpDM6vU0Yb0rbcpouev4rQ=";
|
hash = "sha256-meUKWAFKT6EgHtzgR6jjDCA8EUD1kVoT3reXaRheukw=";
|
||||||
# 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,
|
||||||
|
@ -49,8 +49,8 @@ buildGoModule rec {
|
||||||
];
|
];
|
||||||
preBuild = let
|
preBuild = let
|
||||||
cliConfigToml = fetchurl {
|
cliConfigToml = fetchurl {
|
||||||
url = "https://web.archive.org/web/20221224152051/https://developer.fastly.com/api/internal/cli-config";
|
url = "https://web.archive.org/web/20230207211120/https://developer.fastly.com/api/internal/cli-config";
|
||||||
hash = "sha256-IjakfeqjHshlGoamRJTnhUC8cTVMIY63F3vO6I/ZHO4=";
|
hash = "sha256-Vkl8V5AkiJMZLswSN0vTnz7S7/5lXftlWD5UZh//vUw=";
|
||||||
};
|
};
|
||||||
in ''
|
in ''
|
||||||
cp ${cliConfigToml} ./pkg/config/config.toml
|
cp ${cliConfigToml} ./pkg/config/config.toml
|
||||||
|
|
Loading…
Reference in a new issue