[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/44: gnu: Add rust-notmuch-0.8.
From: |
guix-commits |
Subject: |
09/44: gnu: Add rust-notmuch-0.8. |
Date: |
Mon, 12 Feb 2024 07:40:28 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit d95b4cd275850aa01862236afa4fcf99a0258ded
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Jan 30 16:24:54 2024 +0100
gnu: Add rust-notmuch-0.8.
* gnu/packages/crates-io.scm (rust-notmuch-0.8): Add variable.
(rust-notmuch-0.6): Inherit from rust-notmuch-0.8.
Change-Id: I7d0db16ab65a816e3696bb3d25c472a325175e81
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++--------------
1 file changed, 44 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3111278dca..305baf6508 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40840,46 +40840,72 @@ notification library.")
(("rust-tempfile" ,rust-tempfile-3))))
(license license:cc0)))
-(define-public rust-notmuch-0.6
+(define-public rust-notmuch-0.8
(package
(name "rust-notmuch")
- (version "0.6.0")
+ (version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "notmuch" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "19q93iyvx4liksm09mhq9ibm8zj7i3dizc1s40f916z0kbpn9k5w"))))
+ (base32 "0i6xc7lv10m2sq6vlpjr5wxmlxihvd0v4f5if75r2kwz8ji12pg2"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ ;; Use a newer maildir.
+ (("version = \"0.3.2\"") "version = \"0.5.0\""))))))
(build-system cargo-build-system)
(arguments
- `(#:tests? #f ;see https://github.com/vhdirk/notmuch-rs/issues/35
- #:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-supercow" ,rust-supercow-0.1))
+ `(#:cargo-inputs
+ (("rust-from-variants" ,rust-from-variants-0.6)
+ ("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
(("rust-dirs" ,rust-dirs-1)
("rust-gethostname" ,rust-gethostname-0.2)
("rust-lettre" ,rust-lettre-0.9)
("rust-lettre-email" ,rust-lettre-email-0.9)
("rust-maildir" ,rust-maildir-0.5)
- ("rust-tempfile" ,rust-tempfile-3))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-maildir-version
- (lambda* _
- (substitute* "Cargo.toml"
- (("version = \"0.3.2\"") "version = \"0.5.0\"")))))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list openssl notmuch))
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl notmuch))
(home-page "https://github.com/vhdirk/notmuch-rs")
(synopsis "Rust interface and bindings for Notmuch")
(description
"This crate provides a Rust interface and bindings for Notmuch.")
(license license:gpl3+)))
+(define-public rust-notmuch-0.6
+ (package
+ (inherit rust-notmuch-0.8)
+ (name "rust-notmuch")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "notmuch" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19q93iyvx4liksm09mhq9ibm8zj7i3dizc1s40f916z0kbpn9k5w"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ ;; Use a newer maildir.
+ (("version = \"0.3.2\"") "version = \"0.5.0\""))))))
+ (arguments
+ `(#:tests? #f ;see https://github.com/vhdirk/notmuch-rs/issues/35
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-supercow" ,rust-supercow-0.1))
+ #:cargo-development-inputs
+ (("rust-dirs" ,rust-dirs-1)
+ ("rust-gethostname" ,rust-gethostname-0.2)
+ ("rust-lettre" ,rust-lettre-0.9)
+ ("rust-lettre-email" ,rust-lettre-email-0.9)
+ ("rust-maildir" ,rust-maildir-0.5)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-ntapi-0.4
(package
(name "rust-ntapi")
- 15/44: gnu: rust-swayipc-types-1: Update to 1.3.1., (continued)
- 15/44: gnu: rust-swayipc-types-1: Update to 1.3.1., guix-commits, 2024/02/12
- 21/44: gnu: Add rust-wayrs-proto-parser-2, guix-commits, 2024/02/12
- 27/44: gnu: Add rust-async-channel-2., guix-commits, 2024/02/12
- 29/44: gnu: Add rust-async-io-2 and rust-async-net-2., guix-commits, 2024/02/12
- 37/44: gnu: Add rust-pandoc-0.8., guix-commits, 2024/02/12
- 39/44: gnu: rust-portable-atomic-util-0.1: Update to 0.1.5., guix-commits, 2024/02/12
- 26/44: gnu: Add rust-event-listener-strategy-0.4., guix-commits, 2024/02/12
- 24/44: gnu: Add rust-wayrs-protocols-0.13., guix-commits, 2024/02/12
- 03/44: gnu: Add rust-calibright-0.1., guix-commits, 2024/02/12
- 07/44: gnu: Add rust-from-variants-impl-0.6., guix-commits, 2024/02/12
- 09/44: gnu: Add rust-notmuch-0.8.,
guix-commits <=
- 10/44: gnu: rust-gethostname-0.2: Update to 0.2.3., guix-commits, 2024/02/12
- 12/44: gnu: Add rust-libsensors-sys-0.2., guix-commits, 2024/02/12
- 13/44: gnu: Add rust-sensors-0.2., guix-commits, 2024/02/12
- 20/44: gnu: Add rust-proc-macro-crate-3., guix-commits, 2024/02/12
- 18/44: gnu: Add rust-futures-lite-2., guix-commits, 2024/02/12
- 22/44: gnu: Add rust-wayrs-scanner-0.13., guix-commits, 2024/02/12
- 23/44: gnu: Add rust-wayrs-client-1., guix-commits, 2024/02/12
- 19/44: gnu: Add rust-swayipc-async-2., guix-commits, 2024/02/12
- 28/44: gnu: Add rust-async-lock-3., guix-commits, 2024/02/12
- 31/44: gnu: Add rust-xdg-home-1., guix-commits, 2024/02/12