[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72474] [PATCH 28/30] gnu: Add erlang-sqlite3.
From: |
Igor Goryachev |
Subject: |
[bug#72474] [PATCH 28/30] gnu: Add erlang-sqlite3. |
Date: |
Mon, 5 Aug 2024 13:45:01 +0300 |
* gnu/packages/erlang-xyz.scm (erlang-sqlite3): New variable.
Change-Id: I67b5de3b7a8d3e7655e4bb58fd76d5aec4d5dabe
---
gnu/packages/erlang-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index be678794b4..b1ac387440 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -22,6 +22,7 @@ (define-module (gnu packages erlang-xyz)
#:use-module (gnu packages linux)
#:use-module (gnu packages python)
#:use-module (gnu packages serialization)
+ #:use-module (gnu packages sqlite)
#:use-module (gnu packages tls)
#:use-module (guix build-system rebar)
#:use-module (guix download)
@@ -200,6 +201,31 @@ (define-public erlang-p1-pgsql
(home-page "https://hex.pm/packages/p1_pgsql")
(license license:asl2.0)))
+(define-public erlang-sqlite3
+ (package
+ (name "erlang-sqlite3")
+ (version "1.1.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (hexpm-uri "sqlite3" version))
+ (sha256
+ (base32 "0mr8kpv8hf4yknx8vbmyakgasrhk64ldsbafvr4svhi26ghs82rw"))))
+ (build-system rebar-build-system)
+ (native-inputs (list erlang-pc sqlite))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'set-environment
+ (lambda _
+ (setenv "HOME" "/tmp")
+ (setenv "CC" "gcc"))))))
+ (synopsis "SQLite3 driver for Erlang")
+ (description "This package provides SQLite3 driver for Erlang.")
+ (home-page "https://hex.pm/packages/sqlite3")
+ (license license:asl2.0)))
+
(define-public erlang-stringprep
(package
(name "erlang-stringprep")
--
2.45.2
- [bug#72474] [PATCH 07/30] gnu: Add erlang-unicode-util-compat., (continued)
- [bug#72474] [PATCH 07/30] gnu: Add erlang-unicode-util-compat., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 12/30] gnu: Add erlang-mqtree., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 21/30] gnu: Add erlang-yconf., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 20/30] gnu: Add erlang-fast-yaml., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 24/30] gnu: Add erlang-xmpp., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 27/30] gnu: Add erlang-p1-pgsql., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 19/30] gnu: Add erlang-fast-xml., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 29/30] gnu: Add erlang-eredis., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 22/30] gnu: Add erlang-epam., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 14/30] gnu: Add erlang-p1-oauth2., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 28/30] gnu: Add erlang-sqlite3.,
Igor Goryachev <=
- [bug#72474] [PATCH 18/30] gnu: Add erlang-stun., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 25/30] gnu: Add erlang-esip., Igor Goryachev, 2024/08/05
- [bug#72474] [PATCH 15/30] gnu: Add erlang-pkix., Igor Goryachev, 2024/08/05
- bug#72474: [PATCH 00/30] Add ejabberd package., Andrew Tropin, 2024/08/05