From 3a42fb90176dc7a6efb8e462ad5f8be9fbced733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 5 Oct 2023 13:28:39 +0200 Subject: [PATCH] zd1211: only copy firmware files according to readme, update license --- pkgs/os-specific/linux/firmware/zd1211/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/firmware/zd1211/default.nix b/pkgs/os-specific/linux/firmware/zd1211/default.nix index 6b86277ebc6e1..eb6276d36ac99 100644 --- a/pkgs/os-specific/linux/firmware/zd1211/default.nix +++ b/pkgs/os-specific/linux/firmware/zd1211/default.nix @@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation rec { runHook preInstall mkdir -p $out/lib/firmware/zd1211 - cp * $out/lib/firmware/zd1211 + cp zd1211* $out/lib/firmware/zd1211 runHook postInstall ''; @@ -24,7 +24,7 @@ stdenvNoCC.mkDerivation rec { meta = { description = "Firmware for the ZyDAS ZD1211(b) 802.11a/b/g USB WLAN chip"; homepage = "https://sourceforge.net/projects/zd1211/"; - license = "GPL"; + license = lib.licenses.gpl2; platforms = lib.platforms.linux; }; }