1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: age-plugin-yubikey: Install manpage.

* gnu/packages/rust-apps.scm (age-plugin-yubikey)[arguments]: Add a
phase to generate and install the manpage.

Change-Id: I449d26ec6376b4874b0fc7153533ba38ea71d5f9
This commit is contained in:
Efraim Flashner
2025-11-12 16:34:55 +02:00
parent b5e5a807d1
commit 8eed773a70

View File

@@ -191,7 +191,15 @@ low-end hardware and serving many concurrent requests.")
(base32 "0vp85bf39a89pzy88icjsyf9a7gmkasbppm87zww7pvxr65qaj9z"))))
(build-system cargo-build-system)
(arguments
`(#:install-source? #f))
`(#:install-source? #f
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-extras
(lambda* (#:key outputs #:allow-other-keys)
(invoke "cargo" "run" "--example" "generate-docs")
(install-file "target/manpages/age-plugin-yubikey.1.gz"
(string-append (assoc-ref outputs "out")
"/share/man/man1")))))))
(native-inputs (list pkg-config))
(inputs (cons* pcsc-lite openssl
(cargo-inputs 'age-plugin-yubikey)))