mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #144656 from flokli/telepresence2-bump
This commit is contained in:
commit
6ad1b0940f
@ -1,17 +1,27 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, kubernetes-helm }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "telepresence2";
|
||||
version = "2.4.0";
|
||||
version = "2.4.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "telepresenceio";
|
||||
repo = "telepresence";
|
||||
rev = "v${version}";
|
||||
sha256 = "1v2jkhdlyq37akqyhb8mwsh7rjdv2fjw8kyzys3dv04k3dy5sl0f";
|
||||
sha256 = "09w7yk7jk5m6clq3drbgdr61w60b21jmfd635brfahms8pykmmzl";
|
||||
};
|
||||
|
||||
vendorSha256 = "1snmp461h8driy1w1xggk669yxl0sjl1m9pbqm7dwk44yb94zi1q";
|
||||
# The Helm chart is go:embed'ed as a tarball in the binary.
|
||||
# That tarball is generated by running ./build-aux/package_embedded_chart/main.go,
|
||||
# which tries to invoke helm from tools/bin/helm.
|
||||
# Oh well…
|
||||
preBuild = ''
|
||||
mkdir -p tools/bin
|
||||
ln -sfn ${kubernetes-helm}/bin/helm tools/bin/helm
|
||||
go run ./build-aux/package_embedded_chart/main.go ${src.rev}
|
||||
'';
|
||||
|
||||
vendorSha256 = "0przkcqaf56a0sgan2xxqfpbs9nbmq4brwdv1qnag7i9myzvixxb";
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w" "-X=github.com/telepresenceio/telepresence/v2/pkg/version.Version=${src.rev}"
|
||||
|
Loading…
Reference in New Issue
Block a user