1 { lib, buildGoModule, fetchFromGitHub, nixosTests }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-JhdR1UKHnzXIUoe1shb3IZne3q198NLwRROEYuKsnW4=";
14 vendorSha256 = "sha256-w15dRxIBzDN5i4RNEDuSfCHHb4wc4fw1B2wjlTk40iE=";
16 # Since the tarball pulled from GitHub doesn't contain git tag information,
17 # we fetch the expected tag's timestamp from a file in the root of the
22 -X github.com/mdlayher/corerad/internal/build.linkTimestamp=$(<.gittagtime)
23 -X github.com/mdlayher/corerad/internal/build.linkVersion=v${version}
29 inherit (nixosTests) corerad;
33 homepage = "https://github.com/mdlayher/corerad";
34 description = "Extensible and observable IPv6 NDP RA daemon";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ mdlayher ];
37 platforms = platforms.linux;