mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
25 lines
691 B
Nix
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 = "01nachyzrz0qfs2n76wbwvr1vpjj778cl10lbscspby3pb700b9h";
|
|
|
|
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 ];
|
|
};
|
|
}
|