hostapd: add nixosTests.wpa_supplicant to passthru.tests

This commit is contained in:
Robert Scott
2024-07-14 20:57:22 +01:00
parent 77ee426a4d
commit d2ebb01d11
+15 -1
View File
@@ -1,4 +1,14 @@
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libnl, openssl, sqlite ? null }:
{
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
libnl,
openssl,
nixosTests,
sqlite ? null,
}:
stdenv.mkDerivation rec {
pname = "hostapd";
@@ -148,6 +158,10 @@ stdenv.mkDerivation rec {
install -vD hostapd_cli.1 -t $man/share/man/man1
'';
passthru.tests = {
inherit (nixosTests) wpa_supplicant;
};
meta = with lib; {
homepage = "https://w1.fi/hostapd/";
description = "User space daemon for access point and authentication servers";