Subject: [PATCH 1/2] gnu: Add libevent-with-openssl

From: Thomas Albers <[email-masked]>
Date: Thu, 13 Oct 2022 17:43:33 +0200

* gnu/packages/libevent.scm (libevent-with-openssl): New variable.
---
 gnu/packages/libevent.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index d807315906..e0ba2b3d5b 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -76,6 +76,17 @@ (define-public libevent
 loop.")
     (license bsd-3)))
 
+(define-public libevent-with-openssl
+  (package
+    (inherit libevent)
+    (name "libevent-with-openssl")
+    (inputs
+     `(("openssl" ,openssl)
+       ,@(package-inputs libevent)))
+    (arguments
+     ;; This skips some of the tests which fail on armhf and aarch64.
+     '(#:configure-flags '("--disable-libevent-regress")))))
+
 (define-public libev
   (package
     (name "libev")
-- 
2.38.0