ubridge: add passthru.tests.version
This commit is contained in:
parent
86f0874b38
commit
5c05b25c9c
@ -1,5 +1,9 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, libpcap
|
||||
, testers
|
||||
, ubridge
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -30,6 +34,13 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = ubridge;
|
||||
command = "ubridge -v";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bridge for UDP tunnels, Ethernet, TAP, and VMnet interfaces";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user