From 928c64f57d9957a8beca9eaa7a2196afb3ea2b08 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Mar 2024 16:42:34 +0200 Subject: [PATCH] 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 461bbae98a..ec2c36a8fd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33299,14 +33299,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