Subject: bug#31527: closed (Re: [bug#31527] [PATCH] gnu: Add guile-sparql.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 19 May 2018 22:49:02 +0000

Your bug report

#31527: [PATCH] gnu: Add guile-sparql.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31527: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31527
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#31527] [PATCH] gnu: Add guile-sparql.
From: Roel Janssen <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Sun, 20 May 2018 00:48:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> writes:

> Howdy,
>
> Roel Janssen <[email-masked]> skribis:
>
>> From a0d6909eb6ddfaa0c0fefc3f17ded13e2f86aeee Mon Sep 17 00:00:00 2001
>> From: Roel Janssen <[email-masked]>
>> Date: Sat, 19 May 2018 16:46:34 +0200
>> Subject: [PATCH] gnu: Add guile-sparql.
>>
>> * gnu/packages/guile.scm (guile-sparql): New variable.
>
> Nice, LGTM!

Pushed in 89f8c2ac3.  Thanks!

Kind regards,
Roel Janssen

Subject: [PATCH] gnu: Add guile-sparql.
From: Roel Janssen <[email-masked]>
To: guix-patches <[email-masked]>
Date: Sat, 19 May 2018 16:58:01 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Dear Guix,

I'd like to add ‘guile-sparql’.

Kind regards,
Roel Janssen

>From a0d6909eb6ddfaa0c0fefc3f17ded13e2f86aeee Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Sat, 19 May 2018 16:46:34 +0200
Subject: [PATCH] gnu: Add guile-sparql.

* gnu/packages/guile.scm (guile-sparql): New variable.
---
 gnu/packages/guile.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 84f46d1cc..8c704bebc 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -2336,4 +2336,28 @@ allows users to interact with the Guile REPL through Jupyter.")
       (home-page "https://github.com/jerry40/guile-kernel")
       (license license:gpl3+))))
 
+(define-public guile-sparql
+  (package
+   (name "guile-sparql")
+   (version "0.0.7")
+   (source (origin
+            (method url-fetch)
+            (uri (string-append
+                  "https://github.com/roelj/guile-sparql/releases/download/"
+                  version "/guile-sparql-" version ".tar.gz"))
+            (sha256
+             (base32 "1drnvhsgl0gc5crmb16yyw1j98nkhwwcgssv9vgm36ng43nnzffd"))))
+   (build-system gnu-build-system)
+   (arguments `(#:tests? #f)) ; There are no tests.
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (inputs
+    `(("guile" ,guile-2.2)))
+   (home-page "https://github.com/roelj/guile-sparql")
+   (synopsis "SPARQL module for Guile")
+   (description "This package provides the functionality to query a SPARQL
+endpoint.  Additionally, it provides an interface to write SPARQL queries
+using S-expressions.")
+   (license license:gpl3+)))
+
 ;;; guile.scm ends here
-- 
2.17.0