mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-25 06:38:22 +03:00
corerad: add NixOS module test as passthru test
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
09f0d65317
commit
10f75b2fed
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "corerad";
|
||||
@ -19,6 +19,10 @@ buildGoModule rec {
|
||||
-X github.com/mdlayher/corerad/internal/build.linkVersion=v${version}
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) corerad;
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/mdlayher/corerad";
|
||||
description = "CoreRAD extensible and observable IPv6 NDP RA daemon";
|
||||
|
Loading…
Reference in New Issue
Block a user