aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Goryachev via Guix-patches via <guix-patches@gnu.org>2024-08-05 13:45:01 +0300
committerAndrew Tropin <andrew@trop.in>2024-08-05 17:32:22 +0400
commitdee3d2f787ef831156c9e41d282b45afa161e30a (patch)
tree264ba4c4a86aa21ce43d653be772a415db9681cf
parentef9aaea70f4e1451b59e7f81e1a4f5115629adf8 (diff)
downloadguix-dee3d2f787ef831156c9e41d282b45afa161e30a.tar
guix-dee3d2f787ef831156c9e41d282b45afa161e30a.tar.gz
gnu: Add erlang-sqlite3.
* gnu/packages/erlang-xyz.scm (erlang-sqlite3): New variable. Change-Id: I67b5de3b7a8d3e7655e4bb58fd76d5aec4d5dabe Signed-off-by: Andrew Tropin <andrew@trop.in>
-rw-r--r--gnu/packages/erlang-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 6bec464f2b..f334e54d8e 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -22,6 +22,7 @@
#: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 @@ Erlang and Elixir.")
(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")