mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
faas-cli: 0.14.2 -> 0.14.3
This commit is contained in:
parent
a8110b9347
commit
4fc42a2f49
@ -9,15 +9,13 @@ let
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "faas-cli";
|
||||
# When updating version change rev.
|
||||
version = "0.14.2";
|
||||
rev = "b1c09c0243f69990b6c81a17d7337f0fd23e7542";
|
||||
version = "0.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openfaas";
|
||||
repo = "faas-cli";
|
||||
rev = version;
|
||||
sha256 = "sha256-OdFd4q5IHu4FjNArcqVt4dNyLWegR4GdAyyCzgNIU+Q=";
|
||||
sha256 = "sha256-1aflQXfW/y31Dk0OZW77qNQKEwkhi6p8ZBfTUyRDbdo=";
|
||||
};
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
@ -28,7 +26,7 @@ buildGoModule rec {
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X github.com/openfaas/faas-cli/version.GitCommit=${rev}"
|
||||
"-X github.com/openfaas/faas-cli/version.GitCommit=ref/tags/${version}"
|
||||
"-X github.com/openfaas/faas-cli/version.Version=${version}"
|
||||
"-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user