Merge pull request #327197 from risicle/ris-hostapd-wpa_supplicant-nixos-test

hostapd: add `nixosTests.wpa_supplicant` to `passthru.tests`
This commit is contained in:
Robert Scott 2024-07-15 00:29:56 +01:00 committed by GitHub
commit 78ed910fbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";