From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IN95DjTPOGEg/gAAgWs5BA (envelope-from ) for ; Wed, 08 Sep 2021 16:56:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OAO7CTTPOGESCgAAB5/wlQ (envelope-from ) for ; Wed, 08 Sep 2021 14:56:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 90BD22DCA2 for ; Wed, 8 Sep 2021 16:56:51 +0200 (CEST) Received: from localhost ([::1]:54446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNz0M-0000lU-Mj for larch@yhetil.org; Wed, 08 Sep 2021 10:56:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNyyh-000632-Ad for guix-patches@gnu.org; Wed, 08 Sep 2021 10:55:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50023) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNyyg-0002p9-3W for guix-patches@gnu.org; Wed, 08 Sep 2021 10:55:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNyyg-00088x-1d for guix-patches@gnu.org; Wed, 08 Sep 2021 10:55:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50476] [PATCH 09/10] gnu: Add guile-dbd-mysql. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Sep 2021 14:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50476 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50476@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 50476-submit@debbugs.gnu.org id=B50476.163111287331167 (code B ref 50476); Wed, 08 Sep 2021 14:55:06 +0000 Received: (at 50476) by debbugs.gnu.org; 8 Sep 2021 14:54:33 +0000 Received: from localhost ([127.0.0.1]:33327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNyy8-00086d-L8 for submit@debbugs.gnu.org; Wed, 08 Sep 2021 10:54:32 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:37692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNyxz-00085M-MW for 50476@debbugs.gnu.org; Wed, 08 Sep 2021 10:54:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ay9KKbF8fmw2EEPS4DejSM+WtU5vFGqVpnu0TSkBBiA=; b=iaimaB92lVxU43YAaRoSJYpLC2 7V/7IChIrv2QzKa3isVrqMiba2EgPdbdSJx6k0lZzW59SBeLxcBdx2wrmHecIjFAG2ltlbIJ7XlEo VGJvPikjuRNp9791bFKy8C+jMneYnEiUw6RW6t4FiATRxREsxoXYSakv2DAYSc7KXJTm6ygDheGcG YsUUi08B63di+lYbXV05/4hGjvs0LiTIcbwkiIHM+hNnOuV2zA5tjofIPwPIZIJXen7c/13rXoVOJ b8jsvyAfZKlGLrjTb9u7Mut/zeZKkTLLiVO/d3pygQkVlRF9DGGEClJum55nfqNlLsUsejLfiaZDZ zAXRHNwg==; Received: from [192.168.2.1] (port=55638 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mNyxs-000W6b-OL; Wed, 08 Sep 2021 20:24:16 +0530 From: Arun Isaac Date: Wed, 8 Sep 2021 20:24:12 +0530 Message-Id: <20210908145413.4652-9-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210908145413.4652-1-arunisaac@systemreboot.net> References: <20210908145413.4652-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631113011; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ay9KKbF8fmw2EEPS4DejSM+WtU5vFGqVpnu0TSkBBiA=; b=mbcEHc0TaltEHiXzLhTz1J3XDd7Dn8tLlOyOkIoxvx7/DK3Atn0tYxiH1Hmqfsm00gJace lhUydfM9iMc8v2Db95Zse96AT0it26crfhpSzfyZIjIsf7/VSx9NN6+t/YTjZO1fZWIRpk +p+KVUTk9tTzgdhM2NR1CJDiw5TYNB/ole+GcKve/5lYzILx0ulQwz6YEFN3HLnskw8x/6 PRWZr6AABG7NgUBWagMOWhFiHLOyFetgiiF/CSFepApG14rts886dz+QAPUwQlwDhq3ksT X0TaHkj/RBgMCSAy1x0LthkP3khdo/U/RN0qqTIHYlCGFbjajqBdJhG8Zycjbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631113011; a=rsa-sha256; cv=none; b=Zskpn3BlHF9XfKCcVBkjkxU+g35MyrRA6MrroFzz5I3z58AneifXi+JpVUbGWaS9TGhcq7 jFGIF10uCpOX7DsSBh1Euo8Dp4QWqHgAit+fOqIn1MpA4hd1Gf8GNcBFWgWpdEbZcKsep/ 9fDuJYqQJQTy5AqqxPyLHPmIFp9XDARJqW4sJwBww6kcW8hoUPQntFDX7VqPo4pbu6cZQw Az2PVeT8JLr7iFhD/Fw0xv9avbg1w5Q+bjF0TRhjSHmo7nA2gJajh2rmqCDhF0/Ni/WlaD ClffNVDKNT1JXaZSVXplmtjLIXgyDc63OB5mjzFDPcEOJm7/1VJjNajsB9NL+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=iaimaB92; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=iaimaB92; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 90BD22DCA2 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: +IKelO55tst5 * gnu/packages/guile-xyz.scm (guile-dbd-mysql): New variable. --- gnu/packages/guile-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 15dc8b1219..a5166ec46c 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -1605,6 +1605,39 @@ SQL databases. This package implements the interface for SQLite."))) interface to SQL databases. This package implements the interface for PostgreSQL."))) +(define-public guile-dbd-mysql + (package + (inherit guile-dbi) + (name "guile-dbd-mysql") + (arguments + (substitute-keyword-arguments (package-arguments guile-dbi) + ((#:phases phases) + `(modify-phases ,phases + (replace 'chdir + (lambda _ + ;; The upstream Git repository contains all the code, so change + ;; to the directory specific to guile-dbd-mysql. + (chdir "guile-dbd-mysql"))) + (add-after 'chdir 'patch-src + (lambda _ + (substitute* "configure.ac" + (("mariadbclient") "mariadb")) + (substitute* "src/guile-dbd-mysql.c" + (("