GNU bug report logs - #34344
[PATCH] gnu: Add guile-squee.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Wed, 6 Feb 2019 11:14:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34344 in the body.
You can then email your comments to 34344 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#34344; Package guix-patches. (Wed, 06 Feb 2019 11:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 06 Feb 2019 11:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add guile-squee.
Date: Wed,  6 Feb 2019 11:13:03 +0000
* 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")
-- 
2.20.1





Information forwarded to guix-patches <at> gnu.org:
bug#34344; Package guix-patches. (Wed, 06 Feb 2019 13:01:01 GMT) Full text and rfc822 format available.

Message #8 received at 34344 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 34344 <at> debbugs.gnu.org
Subject: Re: [bug#34344] [PATCH] gnu: Add guile-squee.
Date: Wed, 06 Feb 2019 14:00:28 +0100
Christopher Baines <mail <at> cbaines.net> writes:

> * gnu/packages/guile-xyz.scm (guile-squee): New variable.

LGTM!

-- 
Ricardo





Information forwarded to guix-patches <at> gnu.org:
bug#34344; Package guix-patches. (Wed, 06 Feb 2019 13:04:01 GMT) Full text and rfc822 format available.

Message #11 received at 34344 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 34344 <at> debbugs.gnu.org
Subject: Re: [bug#34344] [PATCH] gnu: Add guile-squee.
Date: Wed, 06 Feb 2019 14:03:43 +0100
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Christopher Baines <mail <at> cbaines.net> writes:
>
>> * gnu/packages/guile-xyz.scm (guile-squee): New variable.
>
> LGTM!

Actually, no!  The license is wrong.  It should be LGPLv3+, not GPLv3+.

--
Ricardo





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Wed, 06 Feb 2019 13:13:01 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Wed, 06 Feb 2019 13:13:02 GMT) Full text and rfc822 format available.

Message #16 received at 34344-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 34344-done <at> debbugs.gnu.org
Subject: Re: [bug#34344] [PATCH] gnu: Add guile-squee.
Date: Wed, 06 Feb 2019 13:12:12 +0000
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Christopher Baines <mail <at> cbaines.net> writes:
>
>> * gnu/packages/guile-xyz.scm (guile-squee): New variable.
>
> LGTM!

Great, I've pushed this to master now.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#34344; Package guix-patches. (Fri, 08 Feb 2019 10:29:02 GMT) Full text and rfc822 format available.

Message #19 received at 34344 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 34344 <at> debbugs.gnu.org
Subject: Re: [bug#34344] [PATCH] gnu: Add guile-squee.
Date: Fri, 08 Feb 2019 10:28:24 +0000
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Christopher Baines <mail <at> cbaines.net> writes:
>>
>>> * gnu/packages/guile-xyz.scm (guile-squee): New variable.
>>
>> LGTM!
>
> Actually, no!  The license is wrong.  It should be LGPLv3+, not GPLv3+.

Ah yes, I should have paid more attention. I've pushed a correction as
[1].

1: 6fd72f7094885dc3dbb10431996c445251094915
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 08 Mar 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.