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