nixpkgs/pkgs/tools/networking/corerad/default.nix

23 lines
594 B
Nix
Raw Normal View History

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "corerad";
2020-02-07 03:57:33 +01:00
version = "0.2.1";
src = fetchFromGitHub {
owner = "mdlayher";
repo = "corerad";
rev = "v${version}";
2020-02-07 03:57:33 +01:00
sha256 = "04w77cahnphgd8b09a67dkrgx9jh8mvgjfjydj6drcw67v0d18c0";
};
2020-02-07 03:57:33 +01:00
modSha256 = "0vbbpndqwwz1mc59j7liaayxaj53cs8s3javgj3pvhkn4vp65p7c";
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 ];
};
}