diff options
author | Han Verstraete <welteki@pm.me> | 2021-11-08 15:46:29 +0100 |
---|---|---|
committer | Han Verstraete <welteki@pm.me> | 2021-11-13 13:31:32 +0100 |
commit | f3784bc57c4abc035ad7c0a2c08c648926eec27c (patch) | |
tree | ad0725422a0da78b644bbd7d4b85b500832e87f5 /pkgs/development/tools/faas-cli | |
parent | ecb6c3515fa67049de9e4c2534c151f4538773c2 (diff) |
faas-cli: 0.13.13 -> 0.13.15
Diffstat (limited to 'pkgs/development/tools/faas-cli')
-rw-r--r-- | pkgs/development/tools/faas-cli/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/development/tools/faas-cli/default.nix b/pkgs/development/tools/faas-cli/default.nix index d74e9b35a2b6a..425d79219c8d0 100644 --- a/pkgs/development/tools/faas-cli/default.nix +++ b/pkgs/development/tools/faas-cli/default.nix @@ -4,20 +4,20 @@ let let cpuName = platform.parsed.cpu.name; in { "aarch64" = "arm64"; "armv7l" = "armhf"; + "armv6l" = "armhf"; }.${cpuName} or cpuName; in buildGoModule rec { pname = "faas-cli"; # When updating version change rev. - version = "0.13.13"; - rev = "72816d486cf76c3089b915dfb0b66b85cf096634"; - platform = faasPlatform stdenv.targetPlatform; + version = "0.13.15"; + rev = "b562392b12a78a11bcff9c6fca5a47146ea2ba0a"; src = fetchFromGitHub { owner = "openfaas"; repo = "faas-cli"; rev = version; - sha256 = "0mmrakyy2qmkldld7pxf5bx6whdadq2r52b68f9p9z7yqrdimix8"; + sha256 = "15kjxn0p8nz8147vsm9q5q6wr2w5ssybvn247kynj2n7139iva2f"; }; CGO_ENABLED = 0; @@ -30,7 +30,7 @@ buildGoModule rec { "-s" "-w" "-X github.com/openfaas/faas-cli/version.GitCommit=${rev}" "-X github.com/openfaas/faas-cli/version.Version=${version}" - "-X github.com/openfaas/faas-cli/commands.Platform=${platform}" + "-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}" ]; meta = with lib; { @@ -38,5 +38,13 @@ buildGoModule rec { description = "Official CLI for OpenFaaS "; license = licenses.mit; maintainers = with maintainers; [ welteki ]; + platforms = [ + "x86_64-linux" + "x86_64-darwin" + "aarch64-linux" + "aarch64-darwin" + "armv7l-linux" + "armv6l-linux" + ]; }; } |