aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/tailscale/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/servers/tailscale/default.nix')
-rw-r--r--nixpkgs/pkgs/servers/tailscale/default.nix23
1 files changed, 8 insertions, 15 deletions
diff --git a/nixpkgs/pkgs/servers/tailscale/default.nix b/nixpkgs/pkgs/servers/tailscale/default.nix
index 9f0a8de4ef6..32c0c84dd08 100644
--- a/nixpkgs/pkgs/servers/tailscale/default.nix
+++ b/nixpkgs/pkgs/servers/tailscale/default.nix
@@ -2,30 +2,23 @@
buildGoModule rec {
pname = "tailscale";
- version = "0.97-219";
+ version = "1.0.5";
src = fetchFromGitHub {
owner = "tailscale";
repo = "tailscale";
- # Tailscale uses "git describe" as version numbers. v0.97-219
- # means "tag v0.97 plus 219 commits", which is what this rev is.
- rev = "afbfe4f217a2a202f0eefe943c7c1ef648311339";
- sha256 = "1an897ys3gycdmclqd0yqs9f7q88zxqxyc6r0gcgs4678svxhb68";
+ rev = "v${version}";
+ sha256 = "0ib2s694kf5iz5hvrlzfs80z0931dhva7yir80crq0pji9y4rp7b";
};
nativeBuildInputs = [ makeWrapper ];
CGO_ENABLED = 0;
- goPackagePath = "tailscale.com";
- overrideModAttrs = (_: {
- preBuild = ''
- rm ipn/e2e_test.go
- rm control/controlclient/auto_test.go
- rm control/controlclient/direct_test.go
- '';
- });
- vendorSha256 = "1v90lbwgrc2m4kvpglf2jykrm8rry3pbhqqbc3mcysrzmqlw84yl";
+ vendorSha256 = "0l9lzwwvshg9a2kmmq1cvvlaxncbas78a9hjhvjjar89rjr2k2sv";
+
+ doCheck = false;
+
subPackages = [ "cmd/tailscale" "cmd/tailscaled" ];
postInstall = ''
@@ -41,4 +34,4 @@ buildGoModule rec {
license = licenses.bsd3;
maintainers = with maintainers; [ danderson mbaillie ];
};
-} \ No newline at end of file
+}