summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2023-01-11 00:52:07 +0100
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2023-01-11 00:52:36 +0100
commitf3317615488de1067cb5f6c0bdf71833c63b1ba8 (patch)
treeb3a8a3cedeee63aedf9c7eec3e0dd224e060ff89
parent5c0ac46c708c648cc2c8cc35c83cef8b4ed343fe (diff)
nongnu: Add ap6256-firmware.
* nongnu/packages/firmware.scm (ap6256-firmware): New variable. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
-rw-r--r--nongnu/packages/firmware.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/nongnu/packages/firmware.scm b/nongnu/packages/firmware.scm
index de8554c..ff97ea4 100644
--- a/nongnu/packages/firmware.scm
+++ b/nongnu/packages/firmware.scm
@@ -104,3 +104,38 @@ WiFi/Bluetooth chip in the PinePhone.")
104HDMI to USB Type-C Bridge in the PinePhone.") 104HDMI to USB Type-C Bridge in the PinePhone.")
105 (home-page "https://megous.com/git/linux-firmware") 105 (home-page "https://megous.com/git/linux-firmware")
106 (license (nonfree (string-append "unknown")))))) 106 (license (nonfree (string-append "unknown"))))))
107
108(define-public ap6256-firmware
109 (let ((commit "056d5f6776e515f90bbbbead1be06857aaef17d0")
110 (revision "1"))
111 (package
112 (name "ap6256-firmware")
113 (version (git-version "2020.02" revision commit))
114 (source (origin
115 (method git-fetch)
116 (uri (git-reference
117 (url
118 "https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware")
119 (commit commit)))
120 (file-name (git-file-name name version))
121 (sha256
122 (base32
123 "1s52rpikw0gysph5lq7vr6b3nsxczg4ikgil9zdgmcknjnxk9kbv"))))
124 (build-system copy-build-system)
125 (arguments
126 `(#:install-plan '( ;Bluetooth firmware
127 ("BCM4345C5.hcd" "usr/lib/firmware/brcm/")
128 ;; WiFi firmware
129 ("fw_bcm43456c5_ag.bin" "usr/lib/firmware/brcm/")
130 ("brcmfmac43456-sdio.clm_blob"
131 "usr/lib/firmware/brcm/")
132 ("brcmfmac43456-sdio.AP6256.txt"
133 "usr/lib/firmware/brcm/")
134 ("brcmfmac43456-sdio.AP6256.txt"
135 "usr/lib/firmware/brcm/brcmfmac43456-sdio.pine64,pinebook-pro.txt"))))
136 (synopsis "Firmware for the wifi/bt module AP6256")
137 (description
138 "This package provides Firmware for the wifi/bt module AP6256,
139found in Pinebook Pro.")
140 (home-page "https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware")
141 (license (nonfree (string-append "unknown"))))))