mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #129799 from NKJe/headscale
This commit is contained in:
commit
9a81b278da
@ -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";
|
||||
|
26
pkgs/servers/headscale/default.nix
Normal file
26
pkgs/servers/headscale/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user