mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
headscale: init at 0.2.2
This commit is contained in:
parent
97192751d7
commit
84c4188584
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5727,6 +5727,8 @@ in
|
|||||||
|
|
||||||
heimdall-gui = heimdall.override { enableGUI = true; };
|
heimdall-gui = heimdall.override { enableGUI = true; };
|
||||||
|
|
||||||
|
headscale = callPackage ../servers/headscale { };
|
||||||
|
|
||||||
heisenbridge = callPackage ../servers/heisenbridge { };
|
heisenbridge = callPackage ../servers/heisenbridge { };
|
||||||
|
|
||||||
helio-workstation = callPackage ../applications/audio/helio-workstation { };
|
helio-workstation = callPackage ../applications/audio/helio-workstation { };
|
||||||
|
Loading…
Reference in New Issue
Block a user