Merge pull request #129799 from NKJe/headscale

This commit is contained in:
Sandro 2021-07-10 02:48:41 +02:00 committed by GitHub
commit 9a81b278da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -7592,6 +7592,16 @@
githubId = 3159451;
name = "Nicolas Schneider";
};
nkje = {
name = "Niels Kristian Lyshøj Jensen";
email = "n@nk.je";
github = "NKJe";
githubId = 1102306;
keys = [{
longkeyid = "nistp256/0xDE3BADFECD31A89D";
fingerprint = "B956 C6A4 22AF 86A0 8F77 A8CA DE3B ADFE CD31 A89D";
}];
};
nkpvk = {
email = "niko.pavlinek@gmail.com";
github = "nkpvk";

View file

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "headscale";
version = "0.2.2";
src = fetchFromGitHub {
owner = "juanfont";
repo = "headscale";
rev = "v${version}";
sha256 = "0iij4hdbdplai5c8kvcwiw11idrk04xbpwb3njdhqcg6pdyx3216";
};
vendorSha256 = "sha256-8MCSN8wn2Y9ejHAIEwTdIXGITaa+FqX7WUMJEr0RcIk=";
# Ldflags are same as build target in the project's Makefile
# https://github.com/juanfont/headscale/blob/main/Makefile
ldflags = [ "-s" "-w" "-X main.version=v${version}" ];
meta = with lib; {
description = "An implementation of the Tailscale coordination server";
homepage = "https://github.com/juanfont/headscale";
license = licenses.bsd3;
maintainers = with maintainers; [ nkje ];
};
}

View file

@ -5759,6 +5759,8 @@ in
heimdall-gui = heimdall.override { enableGUI = true; };
headscale = callPackage ../servers/headscale { };
heisenbridge = callPackage ../servers/heisenbridge { };
helio-workstation = callPackage ../applications/audio/helio-workstation { };