displaylink: add passthru.tests.displaylink

This commit is contained in:
Anthony Roussel 2023-09-21 10:12:03 +02:00
parent 89052d98aa
commit daf602d9fc
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -8,6 +8,7 @@
, makeWrapper , makeWrapper
, requireFile , requireFile
, substituteAll , substituteAll
, nixosTests
}: }:
let let
@ -68,6 +69,12 @@ stdenv.mkDerivation rec {
dontStrip = true; dontStrip = true;
dontPatchELF = true; dontPatchELF = true;
passthru = {
tests = {
inherit (nixosTests) displaylink;
};
};
meta = with lib; { meta = with lib; {
description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux"; description = "DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux";
homepage = "https://www.displaylink.com/"; homepage = "https://www.displaylink.com/";