[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68819] [PATCH 11/49] gnu: Add rust-notmuch-0.8.
From: |
Herman Rimm |
Subject: |
[bug#68819] [PATCH 11/49] gnu: Add rust-notmuch-0.8. |
Date: |
Tue, 30 Jan 2024 16:24:54 +0100 |
* gnu/packages/crates-io.scm (rust-notmuch-0.8): Add variable.
(rust-notmuch-0.6): Inherit from rust-notmuch-0.8.
Change-Id: I7d0db16ab65a816e3696bb3d25c472a325175e81
---
gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++------
1 file changed, 38 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a0df8be22..6880d7096b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40212,23 +40212,22 @@ (define-public rust-notify-4
(("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"))))
(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)
@@ -40252,6 +40251,38 @@ (define-public rust-notmuch-0.6
"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"))))
+ (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))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-maildir-version
+ (lambda* _
+ (substitute* "Cargo.toml"
+ (("version = \"0.3.2\"") "version = \"0.5.0\"")))))))))
+
+
(define-public rust-ntapi-0.4
(package
(name "rust-ntapi")
--
2.41.0
- [bug#68819] [PATCH 00/49 rust-team] Update i3status-rust to 0.32.3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 02/49] gnu: Add rust-backon-0.4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 06/49] gnu: Add rust-neli-wifi-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 07/49] gnu: Add rust-chrono-tz-build-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 09/49] gnu: Add rust-from-variants-impl-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 03/49] gnu: Add rust-calibright-0.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 05/49] gnu: Add rust-neli-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 08/49] gnu: Replace rust-chrono-tz-0.6 with rust-chrono-tz-0.8., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 04/49] gnu: Add rust-neli-proc-macros-0.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 01/49] gnu: Add rust-async-once-cell-0.5., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 11/49] gnu: Add rust-notmuch-0.8.,
Herman Rimm <=
- [bug#68819] [PATCH 12/49] gnu: rust-gethostname-0.2: Update to 0.2.3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 14/49] gnu: Add rust-libsensors-sys-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 16/49] gnu: Add rust-signal-hook-tokio-0.3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 17/49] gnu: rust-swayipc-types-1: Update to 1.3.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 19/49] gnu: rust-parking-2: Update to 2.2.0., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 15/49] gnu: Add rust-sensors-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 13/49] gnu: Add rust-maildir-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 26/49] gnu: Add rust-wayrs-protocols-0.13., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 28/49] gnu: Add rust-event-listener-strategy-0.4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 31/49] gnu: Add rust-async-io-2 and rust-async-net-2 cyclical dependency., Herman Rimm, 2024/01/30