gnu: acpi-call-linux-module: Update to 1.2.2.

* gnu/packages/linux.scm (acpi-call-linux-module): Update to 1.2.2.
[arguments]: Stop returning #t from phases.
[home-page]: Match source.
This commit is contained in:
Tobias Geerinckx-Rice 2021-09-03 04:25:56 +02:00
parent c60daa8e9d
commit dc198e8e3b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1138,7 +1138,7 @@ (define-public linux-libre-with-bpf
(define-public acpi-call-linux-module (define-public acpi-call-linux-module
(package (package
(name "acpi-call-linux-module") (name "acpi-call-linux-module")
(version "1.2.1") (version "1.2.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1147,7 +1147,7 @@ (define-public acpi-call-linux-module
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0mr4rjbv6fj4phf038addrgv32940bphghw2v9n1z4awvw7wzkbg")))) (base32 "1s7h9y3adyfhw7cjldlfmid79lrwz3vqlvziw9nwd6x5qdj4w9vp"))))
(build-system linux-module-build-system) (build-system linux-module-build-system)
(arguments (arguments
`(#:tests? #f ; no tests `(#:tests? #f ; no tests
@ -1159,8 +1159,7 @@ (define-public acpi-call-linux-module
(lambda _ (lambda _
(substitute* (find-files "examples" ".") (substitute* (find-files "examples" ".")
(("^(#! *)/[^ ]*/" _ shebang) (("^(#! *)/[^ ]*/" _ shebang)
(string-append shebang "/usr/bin/env "))) (string-append shebang "/usr/bin/env ")))))
#t))
(add-after 'install 'install-documentation (add-after 'install 'install-documentation
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
@ -1169,9 +1168,8 @@ (define-public acpi-call-linux-module
(let ((target (string-append doc "/" file))) (let ((target (string-append doc "/" file)))
(mkdir-p (dirname target)) (mkdir-p (dirname target))
(copy-recursively file target))) (copy-recursively file target)))
(list "README.md" "examples")) (list "README.md" "examples"))))))))
#t)))))) (home-page "https://github.com/nix-community/acpi_call")
(home-page "https://github.com/teleshoes/acpi_call")
(synopsis "Linux kernel module to perform ACPI method calls") (synopsis "Linux kernel module to perform ACPI method calls")
(description (description
"This simple Linux kernel module allows calls from user space to any "This simple Linux kernel module allows calls from user space to any