ubridge: add passthru.tests.version

This commit is contained in:
Anthony Roussel 2023-09-21 10:43:15 +02:00
parent 86f0874b38
commit 5c05b25c9c
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -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 = ''