gnu: libfido2: Rewrite using g-exps.

* gnu/packages/security-token.scm (libfido2)[arugments]: Rewrite using
g-exps. Remove phases, disable tests.
This commit is contained in:
Efraim Flashner 2022-11-09 11:53:38 +02:00
parent c498146521
commit 8918e42de0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -904,17 +904,16 @@ (define-public libfido2
(inputs (list eudev libcbor openssl zlib)) (inputs (list eudev libcbor openssl zlib))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags (list
(list (string-append #:configure-flags
"-DPKG_CONFIG_EXECUTABLE=" #~(list (string-append
(search-input-file %build-inputs "-DPKG_CONFIG_EXECUTABLE="
(string-append (search-input-file %build-inputs
"/bin/" ,(pkg-config-for-target)))) (string-append
(string-append "-DUDEV_RULES_DIR=" %output "/lib/udev/rules.d")) "/bin/" #$(pkg-config-for-target))))
#:phases (string-append "-DUDEV_RULES_DIR=" #$output "/lib/udev/rules.d"))
(modify-phases %standard-phases ;; regress tests enabled only for debug builds
;; regress tests enabled only for debug builds #:tests? #f))
(delete 'check))))
(synopsis "Library functionality and command-line tools for FIDO devices") (synopsis "Library functionality and command-line tools for FIDO devices")
(description "libfido2 provides library functionality and command-line (description "libfido2 provides library functionality and command-line
tools to communicate with a FIDO device over USB, and to verify attestation tools to communicate with a FIDO device over USB, and to verify attestation