1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Merge pull request #119063 from mausch/telepresence2

telepresence2: init at 2.2.1
This commit is contained in:
Sandro 2021-05-18 01:29:07 +02:00 committed by GitHub
commit 778247d4fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "telepresence2";
version = "2.2.1";
src = fetchFromGitHub {
owner = "telepresenceio";
repo = "telepresence";
rev = "v${version}";
sha256 = "0pr6vm68jr5ld7hy2b4dwmjziir59vg137c74rdn1wlhq3n8vr41";
};
vendorSha256 = "0d0p879zchhrzrf6f5zc3vdcd5zi1ind7ibvb46y6wx6lp0f1nrp";
buildFlagsArray = ''
-ldflags=-s -w -X=github.com/telepresenceio/telepresence/v2/pkg/version.Version=${src.rev}
'';
subPackages = [ "cmd/telepresence" ];
meta = with lib; {
description = "Local development against a remote Kubernetes or OpenShift cluster";
homepage = "https://www.getambassador.io/docs/telepresence/2.1/quick-start/";
license = licenses.asl20;
maintainers = with maintainers; [ mausch ];
};
}

View file

@ -8865,6 +8865,8 @@ in
pythonPackages = python3Packages;
};
telepresence2 = callPackage ../tools/networking/telepresence2 { };
teler = callPackage ../tools/security/teler { };
termius = callPackage ../applications/networking/termius { };