From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#34344] [PATCH] gnu: Add guile-squee. Resent-Message-ID: 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> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34344@debbugs.gnu.org * 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+))) =20 +(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 dat= abases +using Guile's foreign function interface.") + (license license:gpl3+)))) + (define-public guile-colorized (package (name "guile-colorized") --=20 2.20.1