25 lines
644 B
Nix
25 lines
644 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "corerad";
|
|
version = "0.1.8";
|
|
|
|
goPackagePath = "github.com/mdlayher/corerad";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mdlayher";
|
|
repo = "corerad";
|
|
rev = "v${version}";
|
|
sha256 = "13js6p3svx2xp20yjpb5w71rnyrhiiqbbvsck45i756j1lndaqxr";
|
|
};
|
|
|
|
modSha256 = "03x7r392bwchmd3jzwwykdfkr9lfdn77phfwh8xfk2avhzq7qs89";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/mdlayher/corerad";
|
|
description = "CoreRAD extensible and observable IPv6 NDP RA daemon";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ mdlayher ];
|
|
};
|
|
}
|