gnu: Add rust-sequoia-ipc-0.30.
* gnu/packages/sequoia.scm (rust-sequoia-ipc-0.30): Replace rust-sequoia-ipc-0.26. [arguments]: Don't skip build. Add features flag for sequoia-openpgp/crypto-nettle. Remove phase adjusting crypto features. [cargo-inputs]: Add rust-crossbeam-utils-0.8. Replace rust-capnp-rpc-0.13 with 0.14, rust-dirs-2 with 4, rust-rand-0.7 with 0.8, rust-socket2-0.3 with 0.4, rust-tokio-0.2 with 1, rust-tokio-util-0.3 with 0.7. [cargo-development-inputs]: Add rust-sequoia-openpgp-1, rust-tokio-1. Replace rust-clap-2 with 3, rust-quickcheck-0.9 with 1. [inputs]: Add nettle. [native-inputs]: Add clang, pkg-config.
This commit is contained in:
parent
0105912c75
commit
915fb97bd1
1 changed files with 36 additions and 36 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019, 2020, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
;;; Copyright © 2019, 2020, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||||
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2021, 2023 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
|
@ -71,51 +71,51 @@ and decoding of Autocrypt headers and setup messages. Note: Autocrypt is more
|
||||||
than just headers; it requires tight integration with the MUA.")
|
than just headers; it requires tight integration with the MUA.")
|
||||||
(license license:lgpl2.0+)))
|
(license license:lgpl2.0+)))
|
||||||
|
|
||||||
(define-public rust-sequoia-ipc-0.26
|
(define-public rust-sequoia-ipc-0.30
|
||||||
(package
|
(package
|
||||||
(name "rust-sequoia-ipc")
|
(name "rust-sequoia-ipc")
|
||||||
(version "0.26.0")
|
(version "0.30.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "sequoia-ipc" version))
|
(uri (crate-uri "sequoia-ipc" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0xyhz55g1igzjw46f667kqmbbk7pgqy2zf5p13zspr6bwv39s1yk"))))
|
(base32 "1fgqjwaw9rz74y394i3n2a6y2vvy0214daamzswn5ahidhycm3x3"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:features '("sequoia-openpgp/crypto-nettle")
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-anyhow" ,rust-anyhow-1)
|
(("rust-anyhow" ,rust-anyhow-1)
|
||||||
("rust-buffered-reader" ,rust-buffered-reader-1)
|
("rust-buffered-reader" ,rust-buffered-reader-1)
|
||||||
("rust-capnp-rpc" ,rust-capnp-rpc-0.13)
|
("rust-capnp-rpc" ,rust-capnp-rpc-0.14)
|
||||||
("rust-ctor" ,rust-ctor-0.1)
|
("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
|
||||||
("rust-dirs" ,rust-dirs-2)
|
("rust-ctor" ,rust-ctor-0.1)
|
||||||
("rust-fs2" ,rust-fs2-0.4)
|
("rust-dirs" ,rust-dirs-4)
|
||||||
("rust-futures" ,rust-futures-0.3)
|
("rust-fs2" ,rust-fs2-0.4)
|
||||||
("rust-lalrpop" ,rust-lalrpop-0.19)
|
("rust-futures" ,rust-futures-0.3)
|
||||||
("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
|
("rust-lalrpop" ,rust-lalrpop-0.19)
|
||||||
("rust-lazy-static" ,rust-lazy-static-1)
|
("rust-lalrpop-util" ,rust-lalrpop-util-0.19)
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-lazy-static" ,rust-lazy-static-1)
|
||||||
("rust-memsec" ,rust-memsec-0.6)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-rand" ,rust-rand-0.7)
|
("rust-memsec" ,rust-memsec-0.6)
|
||||||
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-socket2" ,rust-socket2-0.3)
|
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
|
||||||
("rust-tempfile" ,rust-tempfile-3)
|
("rust-socket2" ,rust-socket2-0.4)
|
||||||
("rust-thiserror" ,rust-thiserror-1)
|
("rust-tempfile" ,rust-tempfile-3)
|
||||||
("rust-tokio" ,rust-tokio-0.2)
|
("rust-thiserror" ,rust-thiserror-1)
|
||||||
("rust-tokio-util" ,rust-tokio-util-0.3)
|
("rust-tokio" ,rust-tokio-1)
|
||||||
("rust-winapi" ,rust-winapi-0.3))
|
("rust-tokio-util" ,rust-tokio-util-0.7)
|
||||||
#:cargo-development-inputs
|
("rust-winapi" ,rust-winapi-0.3))
|
||||||
(("rust-clap" ,rust-clap-2)
|
#:cargo-development-inputs
|
||||||
("rust-quickcheck" ,rust-quickcheck-0.9))
|
(("rust-clap" ,rust-clap-3)
|
||||||
#:phases
|
("rust-quickcheck" ,rust-quickcheck-1)
|
||||||
(modify-phases %standard-phases
|
("rust-sequoia-openpgp" ,rust-sequoia-openpgp-1)
|
||||||
(add-after 'unpack 'remove-other-crypto-features
|
("rust-tokio" ,rust-tokio-1))))
|
||||||
(lambda _
|
(native-inputs
|
||||||
(substitute* "Cargo.toml"
|
(list clang pkg-config))
|
||||||
(("^crypto-cng =" line) (string-append "# " line))
|
(inputs
|
||||||
(("^crypto-rust =" line) (string-append "# " line))))))))
|
(list nettle))
|
||||||
(home-page "https://sequoia-pgp.org/")
|
(home-page "https://sequoia-pgp.org/")
|
||||||
(synopsis "Interprocess communication infrastructure for Sequoia")
|
(synopsis "Interprocess communication infrastructure for Sequoia")
|
||||||
(description "Interprocess communication infrastructure for Sequoia")
|
(description "Interprocess communication infrastructure for Sequoia")
|
||||||
|
|
|
||||||
Reference in a new issue