[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50362] [PATCH 15/26] gnu: Add rust-notmuch-0.6.
From: |
phodina |
Subject: |
[bug#50362] [PATCH 15/26] gnu: Add rust-notmuch-0.6. |
Date: |
Fri, 03 Sep 2021 22:47:56 +0000 |
* gnu/packages/crates-io.scm (rust-notmuch-0.6): New variable.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59fe760e09..aa200b741f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55,6 +55,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages llvm)
+ #:use-module (gnu packages mail)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages nettle)
#:use-module (gnu packages pcre)
@@ -29408,6 +29409,49 @@ with all line endings.")
(("rust-tempfile" ,rust-tempfile-3))))
(license license:cc0)))
+(define-public rust-notmuch-0.6
+ (package
+ (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"))))
+ (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-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 `(("pkg-config" ,pkg-config)))
+ (inputs `(("openssl" ,openssl)
+ ("notmuch" ,notmuch)))
+ (home-page
+ "https://github.com/vhdirk/notmuch-rs")
+ (synopsis
+ "Rust interface and bindings for notmuch")
+ (description
+ "Rust interface and bindings for notmuch")
+ (license license:gpl3+)))
+
(define-public rust-ntapi-0.3
(package
(name "rust-ntapi")
--
2.32.0
- [bug#50362] [PATCH 05/26] gnu: Add rust-bufstream-0.1., (continued)
- [bug#50362] [PATCH 05/26] gnu: Add rust-bufstream-0.1., phodina, 2021/09/03
- [bug#50362] [PATCH 06/26] gnu: Add rust-ascii-utils-0.9., phodina, 2021/09/03
- [bug#50362] [PATCH 07/26] gnu: Add rust-fast-chemail-0.9., phodina, 2021/09/03
- [bug#50362] [PATCH 08/26] gnu: Add rust-lettre-0.9., phodina, 2021/09/03
- [bug#50362] [PATCH 09/26] gnu: Add rust-email-0.0.20., phodina, 2021/09/03
- [bug#50362] [PATCH 10/26] gnu: Add rust-lettre-email-0.9., phodina, 2021/09/03
- [bug#50362] [PATCH 11/26] gnu: Add rust-charset-0.1., phodina, 2021/09/03
- [bug#50362] [PATCH 12/26] gnu: Add rust-quoted-printable-0.4., phodina, 2021/09/03
- [bug#50362] [PATCH 13/26] gnu: Add rust-mailparse-0.13., phodina, 2021/09/03
- [bug#50362] [PATCH 14/26] gnu: Add rust-maildir-0.5., phodina, 2021/09/03
- [bug#50362] [PATCH 15/26] gnu: Add rust-notmuch-0.6.,
phodina <=
- [bug#50362] [PATCH 16/26] gnu: Add rust-swayipc-command-builder-0.1., phodina, 2021/09/03
- [bug#50362] [PATCH 17/26] gnu: Add rust-swayipc-2., phodina, 2021/09/03
- [bug#50362] [PATCH 18/26] gnu: Add rust-buffering-nocopy-macro-0.1., phodina, 2021/09/03
- [bug#50362] [PATCH 19/26] gnu: Add rust-buffering-0.3., phodina, 2021/09/03
- [bug#50362] [PATCH 20/26] gnu: Add rust-buffering-0.4., phodina, 2021/09/03
- [bug#50362] [PATCH 21/26] gnu: Add rust-neli-0.4., phodina, 2021/09/03
- [bug#50362] [PATCH 22/26] gnu: Add rust-nl80211-0.0.2., phodina, 2021/09/03
- [bug#50362] [PATCH 23/26] gnu: Add rust-assert-impl-0.1., phodina, 2021/09/03
- [bug#50362] [PATCH 24/26] gnu: Add rust-caps-0.5., phodina, 2021/09/03
- [bug#50362] [PATCH 25/26] gnu: Add rust-dbus-0.9., phodina, 2021/09/03