1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-15 17:50:54 +00:00
mdlayher-homelab/nixos/pkgs/wgipamd.nix
Matt Layher 492e24c0fd
nixos: initial commit of router configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-01-04 17:16:31 -05:00

25 lines
691 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "wgipamd";
version = "0.1.0";
goPackagePath = "github.com/mdlayher/wgipam";
src = fetchFromGitHub {
owner = "mdlayher";
repo = "wgipam";
rev = "v${version}";
sha256 = "1kc4ynqxyg1qvwbs9lcwqmv9hczzjw195axfxi2mbvqy54z25za1";
};
modSha256 = "1fijbkmczcbivyjv2slzasn1wrj4kgzgwgpl6h3fikw3wighlfjp";
meta = with stdenv.lib; {
homepage = "https://github.com/mdlayher/wgipam";
description =
"IPAM daemon for dynamic IP address assignment to WireGuard peers, using the wg-dynamic protocol.";
license = licenses.asl20;
maintainers = with maintainers; [ mdlayher ];
};
}