From patchwork Mon Aug 5 10:45:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Goryachev X-Patchwork-Id: 66781 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 99F2127BBEA; Mon, 5 Aug 2024 11:50:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2065727BBE2 for ; Mon, 5 Aug 2024 11:50:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1savHf-0002jA-8a; Mon, 05 Aug 2024 06:49:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1savHa-0002iD-KV for guix-patches@gnu.org; Mon, 05 Aug 2024 06:49:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1savHa-00019D-B0 for guix-patches@gnu.org; Mon, 05 Aug 2024 06:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=hswtTIoZmrh/dW/XZgKankMLeGT0uuAWUz4Q9G6o3rw=; b=JU2RjFiMKyMlu+nO/YKFqpy5f4mpn86M3mDHqm53a+ukoowhvPPmndQPo/Qgv1kEBCHdkuFLEtprJjli+BfzBT3gj8kWeBr8yvfsOIVQw54Ywp66LgLe3vJ+lMDFkBYgjozQzKi3Y34BGYV0l12RFZ8JN3cj4mHV3KneoKSvb7quMhUELlv+Az7pq0kt3iSt5VYehRADC074Qum7V4J+93Eq7YId0//xa4cQPca4hjGN//p2GczhJ2dMMQvxW1MrLqFMEJNDGGFQnaZGO//UYCSClk+w1HvrV47qVerJ5I8PebytTVPcTnankQb8ITFriia9gCVFknrPyoukZL+8sA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1savHw-0000Vg-IY for guix-patches@gnu.org; Mon, 05 Aug 2024 06:50:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72474] [PATCH 28/30] gnu: Add erlang-sqlite3. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Aug 2024 10:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72474@debbugs.gnu.org Cc: Igor Goryachev , Andrew Tropin Received: via spool by 72474-submit@debbugs.gnu.org id=B72474.17228549871857 (code B ref 72474); Mon, 05 Aug 2024 10:50:04 +0000 Received: (at 72474) by debbugs.gnu.org; 5 Aug 2024 10:49:47 +0000 Received: from localhost ([127.0.0.1]:58096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savHe-0000Ts-Or for submit@debbugs.gnu.org; Mon, 05 Aug 2024 06:49:47 -0400 Received: from mail.goryachev.org ([178.62.244.128]:33668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1savEV-00007d-7h for 72474@debbugs.gnu.org; Mon, 05 Aug 2024 06:46:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=VSqFgaFAjX0WIl7 gy9pyh5nrznfaIWFBOjQ0q9Qsaps=; h=references:in-reply-to:date:subject: cc:to:from; d=goryachev.org; b=TTdLmOvvpyf4f7vnPYxi5OgKOzD/VDWDXqgUuET iaqa4i92TfD4xFmgHnzWXQSlTSQ3EiBTnyqiz1xQh36Hz6SjfsOWd/PSfvdLI1TW3nTy6K Ppgt7TZVF9S92Wafbo0f1dSTo+g4yD0qku9Tg8DyW7wxik495W28WAoYdxenn4= Received: by mail.goryachev.org (OpenSMTPD) with ESMTPSA id b61f2af0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 5 Aug 2024 10:46:03 +0000 (UTC) Date: Mon, 5 Aug 2024 13:45:01 +0300 Message-ID: <63f2cff7897c766ef842f1ed661fbcb9e07ba436.1722851684.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches X-Patchwork-Original-From: Igor Goryachev via Guix-patches via From: Igor Goryachev Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")