me
/
guix
Archived
1
0
Fork 0

gnu: rtl8812au-aircrack-ng-linux-module: Inherit from rtl8821ce-linux-module.

* gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module): Inherit
from the rtl8821ce-linux-module package and remove duplicate fields.
master
Tobias Geerinckx-Rice 2021-10-01 21:21:48 +02:00
parent aa4d18f33c
commit d1a24c5bf9
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 34 additions and 46 deletions

View File

@ -1329,52 +1329,6 @@ battery charging thresholds, keyboard backlight, fans and thermal monitors,
and the notification, WiFi, and Bluetooth LED.")
(license license:gpl2)))
(define-public rtl8812au-aircrack-ng-linux-module
(let ((commit "b8167e66b4ac046b3b76c2c40008d84528e91594")
(revision "5"))
(package
(name "rtl8812au-aircrack-ng-linux-module")
(version (git-version "5.6.4.2" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aircrack-ng/rtl8812au")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1940f2yz5c4q2fhcd91zfzl32fhdsgr297vzamm7nd8kdk0gymi2"))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove bundled tarballs, APKs, word lists, speadsheets,
;; and other unnecessary unlicenced things.
(for-each delete-file-recursively (list "android"
"docs"
"tools"))
#t))))
(build-system linux-module-build-system)
(arguments
`(#:make-flags
(list (string-append "KSRC="
(assoc-ref %build-inputs "linux-module-builder")
"/lib/modules/build"))
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(apply invoke "make" make-flags))))
#:tests? #f)) ; no test suite
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://github.com/aircrack-ng/rtl8812au")
(synopsis "Linux driver for Realtek USB wireless network adapters")
(description
"This is Realtek's rtl8812au Linux driver for USB 802.11n wireless
network adapters, modified by the aircrack-ng project to support monitor mode
and frame injection. It provides a @code{88XXau} kernel module that supports
RTL8812AU, RTL8821AU, and RTL8814AU chips.")
(license license:gpl2+))))
(define-public rtl8821ce-linux-module
(let ((commit "897e7c4c15dd5a0a569745dc223d969a26ff5bfc")
(revision "3"))
@ -1415,6 +1369,40 @@ RTL8812AU, RTL8821AU, and RTL8814AU chips.")
network adapters.")
(license license:gpl2))))
(define-public rtl8812au-aircrack-ng-linux-module
(let ((commit "b8167e66b4ac046b3b76c2c40008d84528e91594")
(revision "5"))
(package
(inherit rtl8821ce-linux-module)
(name "rtl8812au-aircrack-ng-linux-module")
(version (git-version "5.6.4.2" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aircrack-ng/rtl8812au")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1940f2yz5c4q2fhcd91zfzl32fhdsgr297vzamm7nd8kdk0gymi2"))
(modules '((guix build utils)))
(snippet
'(begin
;; Remove bundled tarballs, APKs, word lists, speadsheets,
;; and other unnecessary unlicenced things.
(for-each delete-file-recursively (list "android"
"docs"
"tools"))))))
(supported-systems '("x86_64-linux" "i686-linux"))
(home-page "https://github.com/aircrack-ng/rtl8812au")
(synopsis "Linux driver for Realtek USB wireless network adapters")
(description
"This is Realtek's rtl8812au Linux driver for USB 802.11n wireless
network adapters, modified by the aircrack-ng project to support monitor mode
and frame injection. It provides a @code{88XXau} kernel module that supports
RTL8812AU, RTL8821AU, and RTL8814AU chips.")
(license license:gpl2+))))
(define-public vhba-module
(package
(name "vhba-module")