From: Igor Goryachev via Guix-patches via <guix-patches@gnu.org>
To: 72474@debbugs.gnu.org
Cc: Igor Goryachev <igor@goryachev.org>, Andrew Tropin <andrew@trop.in>
Subject: [bug#72474] [PATCH 17/30] gnu: Add erlang-fast-tls.
Date: Mon, 5 Aug 2024 13:44:50 +0300 [thread overview]
Message-ID: <7c02752ce7713dfd8d625b0fbbb4b812028aa670.1722851684.git.igor@goryachev.org> (raw)
In-Reply-To: <cover.1722851684.git.igor@goryachev.org>
* gnu/packages/erlang-xyz.scm (erlang-fast-tls): New variable.
Change-Id: Ibda856e308b68f5e1dba4a7a541e0f2438aae737
---
gnu/packages/erlang-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 58b503b49c..2d0d8cd567 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -20,6 +20,7 @@ (define-module (gnu packages erlang-xyz)
#:use-module (gnu packages)
#:use-module (gnu packages erlang)
#:use-module (gnu packages python)
+ #:use-module (gnu packages tls)
#:use-module (guix build-system rebar)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -268,6 +269,46 @@ (define-public erlang-ezlib
(home-page "https://hex.pm/packages/ezlib")
(license license:asl2.0)))
+(define-public erlang-fast-tls
+ (package
+ (name "erlang-fast-tls")
+ (version "1.1.21")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "fast_tls" version))
+ (sha256
+ (base32 "0nsh5597pa1643kj2mmp05anss2r0gq83al0rm45w0ip768l458k"))))
+ (build-system rebar-build-system)
+ (inputs (list erlang-p1-utils openssl))
+ (native-inputs (list erlang-pc openssl))
+ (arguments
+ (list
+ #:tests? #f ; some required files are absent
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((sh (search-input-file inputs "/bin/sh")))
+ (substitute* "configure"
+ (("/bin/sh") sh)))))
+ (add-after 'unpack 'set-environment
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "CC" "gcc")
+ (let ((openssl (assoc-ref %build-inputs "openssl")))
+ (setenv "LDFLAGS" (string-append "-L" openssl "/lib"))
+ (setenv "CFLAGS" (string-append "-I" openssl "/include")))))
+ (add-before 'build 'configure
+ (lambda _
+ (invoke "./configure"))))))
+ (synopsis "TLS/SSL OpenSSL-based native driver for Erlang/Elixir")
+ (description
+ "This package provides TLS/SSL @code{OpenSSL}-based native driver
+for Erlang/Elixir.")
+ (home-page "https://hex.pm/packages/fast_tls")
+ (license license:asl2.0)))
+
(define-public erlang-unicode-util-compat
(package
(name "erlang-unicode-util-compat")
--
2.45.2
next prev parent reply other threads:[~2024-08-05 10:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 10:36 [bug#72474] [PATCH 00/30] Add ejabberd package Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 01/30] gnu: Add erlang-base64url Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 02/30] gnu: Add erlang-jose Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 03/30] gnu: Add erlang-pc Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 04/30] gnu: Add erlang-provider-asn1 Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 05/30] gnu: Add erlang-luerl Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 06/30] gnu: Add erlang-p1-utils Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 07/30] gnu: Add erlang-unicode-util-compat Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 08/30] gnu: Add erlang-idna Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 09/30] gnu: Add erlang-stringprep Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 10/30] gnu: Add erlang-cache-tab Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 11/30] gnu: Add erlang-eimp Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 12/30] gnu: Add erlang-mqtree Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 13/30] gnu: Add erlang-jiffy Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 14/30] gnu: Add erlang-p1-oauth2 Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 15/30] gnu: Add erlang-pkix Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 16/30] gnu: Add erlang-ezlib Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` Igor Goryachev via Guix-patches via [this message]
2024-08-05 10:44 ` [bug#72474] [PATCH 18/30] gnu: Add erlang-stun Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 19/30] gnu: Add erlang-fast-xml Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 20/30] gnu: Add erlang-fast-yaml Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 21/30] gnu: Add erlang-yconf Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 22/30] gnu: Add erlang-epam Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 23/30] gnu: Add erlang-p1-acme Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 24/30] gnu: Add erlang-xmpp Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 25/30] gnu: Add erlang-esip Igor Goryachev via Guix-patches via
2024-08-05 10:44 ` [bug#72474] [PATCH 26/30] gnu: Add erlang-p1-mysql Igor Goryachev via Guix-patches via
2024-08-05 10:45 ` [bug#72474] [PATCH 27/30] gnu: Add erlang-p1-pgsql Igor Goryachev via Guix-patches via
2024-08-05 10:45 ` [bug#72474] [PATCH 28/30] gnu: Add erlang-sqlite3 Igor Goryachev via Guix-patches via
2024-08-05 10:45 ` [bug#72474] [PATCH 29/30] gnu: Add erlang-eredis Igor Goryachev via Guix-patches via
2024-08-05 10:45 ` [bug#72474] [PATCH 30/30] gnu: Add ejabberd Igor Goryachev via Guix-patches via
2024-08-05 13:46 ` [bug#72474] [PATCH 00/30] Add ejabberd package Andrew Tropin via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c02752ce7713dfd8d625b0fbbb4b812028aa670.1722851684.git.igor@goryachev.org \
--to=guix-patches@gnu.org \
--cc=72474@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=igor@goryachev.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.