gnu: sequoia-sqv: Update to 1.1.0.

* gnu/packages/sequoia.scm (sequoia-sqv): Update to 1.1.0.
[arguments]: Don't skip tests. Remove phase adjusting crypto features.
This commit is contained in:
Efraim Flashner 2023-05-22 17:53:02 +03:00
parent 41918b5fe5
commit 1395f85fe7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -501,37 +501,28 @@ (define-public sequoia-sq
(define-public sequoia-sqv (define-public sequoia-sqv
(package (package
(name "sequoia-sqv") (name "sequoia-sqv")
(version "1.0.0") (version "1.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "sequoia-sqv" version)) (uri (crate-uri "sequoia-sqv" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0nrfjn64fm038x5dssipf7jxi27z741m5n5a7zsa9768zab1hr9d")))) (base32 "0vzqahx7dk1wh2vp7lbzjgah8v7fqpvdf0dq0dydi9695ffm99lc"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(inputs (inputs
(list nettle openssl)) (list nettle openssl))
(native-inputs (native-inputs
(list clang pkg-config)) (list clang pkg-config))
(arguments (arguments
`(#:tests? #f ;; tests require data-files not provided in the package `(#:install-source? #f
#:install-source? #f
#:cargo-inputs #:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1) (("rust-anyhow" ,rust-anyhow-1)
("rust-chrono" ,rust-chrono-0.4) ("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-2) ("rust-clap" ,rust-clap-2)
("rust-clap" ,rust-clap-2)
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)) ("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-assert-cli" ,rust-assert-cli-0.6)) (("rust-assert-cli" ,rust-assert-cli-0.6))))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-other-crypto-features
(lambda _
(substitute* "Cargo.toml"
(("^crypto-cng =" line) (string-append "# " line))
(("^crypto-rust =" line) (string-append "# " line))))))))
(home-page "https://sequoia-pgp.org/") (home-page "https://sequoia-pgp.org/")
(synopsis "Simple OpenPGP signature verification program") (synopsis "Simple OpenPGP signature verification program")
(description "@code{sqv} verifies detached OpenPGP signatures. It is a (description "@code{sqv} verifies detached OpenPGP signatures. It is a