diff options
Diffstat (limited to 'pkgs/os-specific/linux/hostapd/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/hostapd/default.nix | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/hostapd/default.nix b/pkgs/os-specific/linux/hostapd/default.nix index 1187cd2194570..10abb04f776fc 100644 --- a/pkgs/os-specific/linux/hostapd/default.nix +++ b/pkgs/os-specific/linux/hostapd/default.nix @@ -1,12 +1,21 @@ -{ lib, stdenv, fetchurl, pkg-config, libnl, openssl, sqlite ? null }: +{ + lib, + stdenv, + fetchurl, + pkg-config, + libnl, + openssl, + nixosTests, + sqlite ? null, +}: stdenv.mkDerivation rec { pname = "hostapd"; - version = "2.10"; + version = "2.11"; src = fetchurl { url = "https://w1.fi/releases/${pname}-${version}.tar.gz"; - sha256 = "sha256-IG58eZtnhXLC49EgMCOHhLxKn4IyOwFWtMlGbxSYkV0="; + sha256 = "sha256-Kz+stjL9T2XjL0v4Kna0tyxQH5laT2LjMCGf567RdHo="; }; nativeBuildInputs = [ pkg-config ]; @@ -80,6 +89,7 @@ stdenv.mkDerivation rec { CONFIG_IEEE80211N=y CONFIG_IEEE80211AC=y CONFIG_IEEE80211AX=y + CONFIG_IEEE80211BE=y '' + lib.optionalString (sqlite != null) '' CONFIG_SQLITE=y ''; @@ -101,11 +111,15 @@ 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"; license = licenses.bsd3; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ oddlama ]; platforms = platforms.linux; }; } |