gnu: Add libevent-with-openssl.
authorThomas Albers <thomas@thomaslabs.org>
Thu, 13 Oct 2022 15:43:33 +0000 (17:43 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 23 Oct 2022 13:56:19 +0000 (15:56 +0200)
* gnu/packages/libevent.scm (libevent-with-openssl): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/libevent.scm

index d807315..680db44 100644 (file)
@@ -76,6 +76,15 @@ then add or remove events dynamically without having to change the event
 loop.")
     (license bsd-3)))
 
+(define-public libevent-with-openssl
+  (package/inherit libevent
+    (name "libevent-with-openssl")
+    (inputs (modify-inputs (package-inputs libevent)
+              (prepend openssl)))
+    (arguments
+     ;; This skips some of the tests which fail on armhf and aarch64.
+     '(#:configure-flags '("--disable-libevent-regress")))))
+
 (define-public libev
   (package
     (name "libev")