summaryrefslogtreecommitdiff
path: root/pbp-wifi.scm
diff options
context:
space:
mode:
Diffstat (limited to 'pbp-wifi.scm')
-rw-r--r--pbp-wifi.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/pbp-wifi.scm b/pbp-wifi.scm
new file mode 100644
index 0000000..a973ee8
--- /dev/null
+++ b/pbp-wifi.scm
@@ -0,0 +1,35 @@
+(define-module (pbp-wifi)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix git-download)
+ #:use-module (guix utils)
+ #:use-module (guix build-system copy)
+ #:use-module (gnu packages))
+
+
+(define-public pbp-wifi
+ (let ((commit "056d5f6776e515f90bbbbead1be06857aaef17d0")
+ (revision "1"))
+ (package
+ (name "pbp-wifi")
+ (version (git-version "0.0.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware.git")
+ (commit commit)))
+ (sha256 (base32 "1s52rpikw0gysph5lq7vr6b3nsxczg4ikgil9zdgmcknjnxk9kbv"))))
+ (build-system copy-build-system)
+
+ (arguments
+ '(#:install-plan
+ '(("BCM4345C5.hcd" "/lib/firmware/brcm/")
+ ("brcmfmac43456-sdio.AP6256.txt" "/lib/firmware/brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt")
+ ("fw_bcm43456c5_ag.bin" "/lib/firmware/brcm/brcmfmac43456-sdio.bin")
+ ("brcmfmac43456-sdio.clm_blob" "/lib/firmware/brcm/brcmfmac43456-sdio.clm_blob"))))
+
+ (synopsis "Pinebook Pro privative Wifi firmware package")
+ (description "Firmware for Pinebook Pro AP6256 Wifi module.")
+ (home-page "https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware.git")
+ (supported-systems '("aarch64-linux"))
+ (license license:non-copyleft))))