mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: sequoia: Update to 0.17.0.
* gnu/packages/sequoia.scm (sequoia): Update to 0.17.0. [cargo-inputs]: Add rust-structopt-0.3. [phases](unpin-deps): New phase.
This commit is contained in:
parent
96a95aa9c7
commit
2dab855bb1
1 changed files with 11 additions and 2 deletions
|
@ -39,7 +39,7 @@ (define-module (gnu packages sequoia)
|
|||
(define-public sequoia
|
||||
(package
|
||||
(name "sequoia")
|
||||
(version "0.16.0")
|
||||
(version "0.17.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -47,7 +47,7 @@ (define-public sequoia
|
|||
(url "https://gitlab.com/sequoia-pgp/sequoia.git")
|
||||
(commit (string-append "v" version))))
|
||||
(sha256
|
||||
(base32 "0iwzi2ylrwz56s77cd4vcf89ig6ipy4w6kp2pfwqvd2d00x54dhk"))
|
||||
(base32 "1rf9q67qmjfkgy6r3mz1h9ibfmc04r4j8nzacqv2l75x4mwvf6xb"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system cargo-build-system)
|
||||
(outputs '("out" "python"))
|
||||
|
@ -105,6 +105,7 @@ (define-public sequoia
|
|||
("rust-rand" ,rust-rand-0.7)
|
||||
("rust-regex" ,rust-regex-1)
|
||||
("rust-rusqlite" ,rust-rusqlite-0.19)
|
||||
("rust-structopt" ,rust-structopt-0.3)
|
||||
("rust-tempfile" ,rust-tempfile-3)
|
||||
("rust-thiserror" ,rust-thiserror-1.0)
|
||||
("rust-tokio" ,rust-tokio-0.1)
|
||||
|
@ -161,6 +162,14 @@ (define-public sequoia
|
|||
;; FIXME: why do we need to set this here?
|
||||
(setenv "LIBCLANG_PATH"
|
||||
(string-append (assoc-ref inputs "clang") "/lib"))
|
||||
#t))
|
||||
(add-after 'unpack 'unpin-deps
|
||||
(lambda _
|
||||
;; As the comment in that file explains, upstream encourages
|
||||
;; unpinning, as the pinned version is only to make sure the crate
|
||||
;; compiles on older versions of rustc
|
||||
(substitute* '("openpgp/Cargo.toml" "tool/Cargo.toml")
|
||||
(("= \"=") "= \""))
|
||||
#t)))))
|
||||
(home-page "https://sequoia-pgp.org")
|
||||
(synopsis "New OpenPGP implementation")
|
||||
|
|
Loading…
Reference in a new issue