boundary: 0.2.1 -> 0.2.2
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
This commit is contained in:
parent
91f76f9fec
commit
2f2e8a0009
@ -2,25 +2,26 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "boundary";
|
pname = "boundary";
|
||||||
version = "0.2.1";
|
version = "0.2.2";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
let
|
let
|
||||||
inherit (stdenv.hostPlatform) system;
|
inherit (stdenv.hostPlatform) system;
|
||||||
suffix = {
|
selectSystem = attrs: attrs.${system} or (throw "Unsupported system: ${system}");
|
||||||
|
suffix = selectSystem {
|
||||||
x86_64-linux = "linux_amd64";
|
x86_64-linux = "linux_amd64";
|
||||||
aarch64-linux = "linux_arm64";
|
aarch64-linux = "linux_arm64";
|
||||||
x86_64-darwin = "darwin_amd64";
|
x86_64-darwin = "darwin_amd64";
|
||||||
}.${system} or (throw "Unsupported system: ${system}");
|
};
|
||||||
fetchsrc = version: sha256: fetchzip {
|
sha256 = selectSystem {
|
||||||
url = "https://releases.hashicorp.com/boundary/${version}/boundary_${version}_${suffix}.zip";
|
x86_64-linux = "sha256-K9WlOS9pRhBcoGaSZ3AhbGoTfKUrn4SDq50x6wnIib8=";
|
||||||
sha256 = sha256.${system};
|
aarch64-linux = "sha256-BRm0Hy9vuxZSYINrPIMwl2UGZdWTSixLT8EJ1OzCGMg=";
|
||||||
|
x86_64-darwin = "sha256-pinmzz6GbQWAj3Ut/IB2o75w8X+CS2tXhE6nekYO4vc=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetchsrc version {
|
fetchzip {
|
||||||
x86_64-linux = "sha256-DDrsgZlnDF+WlBKyDi1McqcXEe5mAxoq5WW60p5qFQ8=";
|
url = "https://releases.hashicorp.com/boundary/${version}/boundary_${version}_${suffix}.zip";
|
||||||
aarch64-linux = "sha256-z9puhWmWf6G2C9PItKD4KL742UjVyVE/TDIu0gpOKd4=";
|
inherit sha256;
|
||||||
x86_64-darwin = "sha256-hDZPKi5R0seLbkHe7V4Vm+FarI6HrSZJF9JBJBa9O2Y=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user