gnu: libcacard: Fix building.

* gnu/packages/spice.scm (libcacard)[arguments]: Remove field.
[native-inputs]: Remove softhsm.
This commit is contained in:
Efraim Flashner 2021-08-10 11:55:51 +03:00
parent b58cb688d4
commit 9987cb9f40
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -349,15 +349,6 @@ (define-public libcacard
(base32
"0azj3rqr2smg0lai24xrn3zr628xmjfrzcggay877zrr64ybj1c0"))))
(build-system meson-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-tests
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "tests/setup-softhsm2.sh"
(("\\/usr\\/lib64\\/pkcs11\\/libsofthsm2\\.so")
(search-input-file inputs
"/lib/softhsm/libsofthsm2.so"))))))))
(propagated-inputs
`(("glib" ,glib) ; Requires: in the pkg-config file
("nss" ,nss))) ; Requires.private: in the pkg-config
@ -366,7 +357,6 @@ (define-public libcacard
`(("openssl" ,openssl)
("nss" ,nss "bin")
("opensc" ,opensc)
("softhsm" ,softhsm)
("gnutls" ,gnutls)
("pkg-config" ,pkg-config)
("which" ,which)))