From patchwork Wed Feb 6 11:13:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 962 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 4A7EB16BB6; Wed, 6 Feb 2019 11:14:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 0640616BB4 for ; Wed, 6 Feb 2019 11:14:23 +0000 (GMT) Received: from localhost ([127.0.0.1]:48724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grL9q-0000UE-Jw for patchwork@mira.cbaines.net; Wed, 06 Feb 2019 06:14:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grL9Y-0000Le-1Q for guix-patches@gnu.org; Wed, 06 Feb 2019 06:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grL9X-0000jc-1z for guix-patches@gnu.org; Wed, 06 Feb 2019 06:14:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grL9W-0000jW-Uy for guix-patches@gnu.org; Wed, 06 Feb 2019 06:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grL9W-0005vC-MJ for guix-patches@gnu.org; Wed, 06 Feb 2019 06:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34344] [PATCH] gnu: Add guile-squee. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Feb 2019 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34344@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154945159822692 (code B ref -1); Wed, 06 Feb 2019 11:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2019 11:13:18 +0000 Received: from localhost ([127.0.0.1]:34056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grL8m-0005tu-8E for submit@debbugs.gnu.org; Wed, 06 Feb 2019 06:13:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grL8k-0005tf-9C for submit@debbugs.gnu.org; Wed, 06 Feb 2019 06:13:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:37532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grL8e-0000MK-4n for submit@debbugs.gnu.org; Wed, 06 Feb 2019 06:13:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grL8d-0008F3-5y for guix-patches@gnu.org; Wed, 06 Feb 2019 06:13:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grL8c-0000LY-AE for guix-patches@gnu.org; Wed, 06 Feb 2019 06:13:07 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:47240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grL8c-0000Km-4h for guix-patches@gnu.org; Wed, 06 Feb 2019 06:13:06 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 725E416BB0 for ; Wed, 6 Feb 2019 11:13:03 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 50b84562 for ; Wed, 6 Feb 2019 11:13:03 +0000 (UTC) From: Christopher Baines Date: Wed, 6 Feb 2019 11:13:03 +0000 Message-Id: <20190206111303.3476-1-mail@cbaines.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/guile-xyz.scm (guile-squee): New variable. --- gnu/packages/guile-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 117d309c92..f249761ebc 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -560,6 +560,45 @@ HTML (via SXML) or any other format for rendering.") It has a nice, simple s-expression based syntax.") (license license:lgpl3+))) +(define-public guile-squee + (let ((commit "a85902a92bf6f58a1d35fd974a01ade163deda8d") + (revision "0")) + (package + (name "guile-squee") + (version (string-append "0-" revision "." (string-take commit 7))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://notabug.org/cwebber/guile-squee.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0p1lpsp4kx57j3ai1dkxilm4ziavzzx8wbbc42m3hpziq0a7qz5z")))) + (build-system guile-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "squee.scm" + (("dynamic-link \"libpq\"") + (string-append + "dynamic-link \"" + (assoc-ref inputs "postgresql") "/lib/libpq.so" + "\""))) + #t))))) + (inputs + `(("postgresql" ,postgresql))) + (native-inputs + `(("guile" ,guile-2.2))) + (home-page "https://notabug.org/cwebber/guile-squee") + (synopsis "Connect to PostgreSQL using Guile") + (description + "@code{squee} is a Guile library for connecting to PostgreSQL databases +using Guile's foreign function interface.") + (license license:gpl3+)))) + (define-public guile-colorized (package (name "guile-colorized")