lol

Merge pull request #145080 from welteki/faas-cli-0.13.15

faas-cli: 0.13.13 -> 0.13.15

authored by

Thiago Kenji Okada and committed by
GitHub
e29d8184 9730df15

+13 -5
+13 -5
pkgs/development/tools/faas-cli/default.nix
··· 4 let cpuName = platform.parsed.cpu.name; in { 5 "aarch64" = "arm64"; 6 "armv7l" = "armhf"; 7 }.${cpuName} or cpuName; 8 in 9 buildGoModule rec { 10 pname = "faas-cli"; 11 # When updating version change rev. 12 - version = "0.13.13"; 13 - rev = "72816d486cf76c3089b915dfb0b66b85cf096634"; 14 - platform = faasPlatform stdenv.targetPlatform; 15 16 src = fetchFromGitHub { 17 owner = "openfaas"; 18 repo = "faas-cli"; 19 rev = version; 20 - sha256 = "0mmrakyy2qmkldld7pxf5bx6whdadq2r52b68f9p9z7yqrdimix8"; 21 }; 22 23 CGO_ENABLED = 0; ··· 30 "-s" "-w" 31 "-X github.com/openfaas/faas-cli/version.GitCommit=${rev}" 32 "-X github.com/openfaas/faas-cli/version.Version=${version}" 33 - "-X github.com/openfaas/faas-cli/commands.Platform=${platform}" 34 ]; 35 36 meta = with lib; { ··· 38 description = "Official CLI for OpenFaaS "; 39 license = licenses.mit; 40 maintainers = with maintainers; [ welteki ]; 41 }; 42 }
··· 4 let cpuName = platform.parsed.cpu.name; in { 5 "aarch64" = "arm64"; 6 "armv7l" = "armhf"; 7 + "armv6l" = "armhf"; 8 }.${cpuName} or cpuName; 9 in 10 buildGoModule rec { 11 pname = "faas-cli"; 12 # When updating version change rev. 13 + version = "0.13.15"; 14 + rev = "b562392b12a78a11bcff9c6fca5a47146ea2ba0a"; 15 16 src = fetchFromGitHub { 17 owner = "openfaas"; 18 repo = "faas-cli"; 19 rev = version; 20 + sha256 = "15kjxn0p8nz8147vsm9q5q6wr2w5ssybvn247kynj2n7139iva2f"; 21 }; 22 23 CGO_ENABLED = 0; ··· 30 "-s" "-w" 31 "-X github.com/openfaas/faas-cli/version.GitCommit=${rev}" 32 "-X github.com/openfaas/faas-cli/version.Version=${version}" 33 + "-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}" 34 ]; 35 36 meta = with lib; { ··· 38 description = "Official CLI for OpenFaaS "; 39 license = licenses.mit; 40 maintainers = with maintainers; [ welteki ]; 41 + platforms = [ 42 + "x86_64-linux" 43 + "x86_64-darwin" 44 + "aarch64-linux" 45 + "aarch64-darwin" 46 + "armv7l-linux" 47 + "armv6l-linux" 48 + ]; 49 }; 50 }