guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

51/62: gnu: rust-lettre-email-0.9: Don't skip the build.


From: guix-commits
Subject: 51/62: gnu: rust-lettre-email-0.9: Don't skip the build.
Date: Wed, 13 Mar 2024 16:22:26 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit dfd42d20a58cacae0c2b3e43c6b7cf25f0c56d84
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 13 16:42:34 2024 +0200

    gnu: rust-lettre-email-0.9: Don't skip the build.
    
    * gnu/packages/crates-io.scm (rust-lettre-email-0.9)[arguments]: Don't
    skip the build.  Add cargo-test-flags.
    [cargo-development-inputs]: Add rust-glob-0.3, rust-lettre-0.9.
    [native-inputs]: Add pkg-config.
    [inputs]: Add openssl.
    
    Change-Id: Iaef5715adc2d97c9e6af022809592b198511e7ad
---
 gnu/packages/crates-io.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ad45d50c1..af14d75b44 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33160,14 +33160,19 @@ sending emails from Rust applications.")
         (base32 "1mar4njchjd33q7s47r43njjj8farkb78f8ica77jj6gil7lh0px"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release" "--" "--skip=book_test")
        #:cargo-inputs
        (("rust-base64" ,rust-base64-0.10)
         ("rust-email" ,rust-email-0.0.20)
         ("rust-lettre" ,rust-lettre-0.9)
         ("rust-mime" ,rust-mime-0.3)
         ("rust-time" ,rust-time-0.1)
-        ("rust-uuid" ,rust-uuid-0.7))))
+        ("rust-uuid" ,rust-uuid-0.7))
+       #:cargo-development-inputs (("rust-glob" ,rust-glob-0.3)
+                                   ("rust-lettre" ,rust-lettre-0.9))))
+    (native-inputs (list pkg-config))
+    (inputs (list openssl))
     (home-page "https://github.com/lettre/lettre";)
     (synopsis "Mailer library for Rust")
     (description "Lettre is a mailer library for Rust.  It provides multiple



reply via email to

[Prev in Thread] Current Thread [Next in Thread]