bosh-cli: init at 6.4.3
This commit is contained in:
parent
8abb6b4488
commit
8f3bf74e1c
2 changed files with 45 additions and 0 deletions
43
pkgs/applications/networking/cluster/bosh-cli/default.nix
Normal file
43
pkgs/applications/networking/cluster/bosh-cli/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, makeWrapper
|
||||
, openssh
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bosh-cli";
|
||||
|
||||
version = "6.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudfoundry";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1glxwk0fv52rjim7ihcxkjx19fsn9k7gzg9zmwxgx8wpsjrdcq3f";
|
||||
};
|
||||
vendorSha256 = null;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace cmd/version.go --replace '[DEV BUILD]' '${version}'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/bosh-cli $out/bin/bosh
|
||||
wrapProgram $out/bin/bosh --prefix PATH : '${lib.makeBinPath [ openssh ]}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command line interface to CloudFoundry BOSH";
|
||||
homepage = "https://bosh.io";
|
||||
changelog = "https://github.com/cloudfoundry/bosh-cli/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ris ];
|
||||
};
|
||||
}
|
|
@ -14446,6 +14446,8 @@ in
|
|||
|
||||
boost_process = callPackage ../development/libraries/boost-process { };
|
||||
|
||||
bosh-cli = callPackage ../applications/networking/cluster/bosh-cli { };
|
||||
|
||||
botan = callPackage ../development/libraries/botan {
|
||||
openssl = openssl_1_0_2;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
|
|
Loading…
Reference in a new issue