all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add guile-json.
@ 2014-03-31 18:21 Cyril Roelandt
  2014-03-31 20:02 ` Ludovic Courtès
  2014-04-01 21:58 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Cyril Roelandt @ 2014-03-31 18:21 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/guile.scm (guile-json): 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 d1ea6e8..3394f8a 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -326,4 +326,28 @@ for Guile\".")
     ;; details.
     (license gpl3+)))
 
+(define-public guile-json
+  (package
+    (name "guile-json")
+    (version "0.3.1")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "mirror://savannah/guile-json/guile-json-"
+                                 version ".tar.gz"))
+             (sha256
+              (base32
+               "0nz2sx61kd6cfflwzxxq0cb9dz0asb81abbhfawv4p9ghciqdr3g"))))
+    (build-system gnu-build-system)
+    (inputs `(("guile" ,guile-2.0)))
+    (home-page "http://savannah.nongnu.org/projects/guile-json/")
+    (synopsis "A JSON module for Guile")
+    (description
+     "Guile-json supports parsing and building JSON documents according to the
+http:://json.org specification. These are the main features:
+- Strictly complies to http://json.org specification.
+- Build JSON documents programmatically via macros.
+- Unicode support for strings.
+- Allows JSON pretty printing.")
+    (license lgpl3+)))
+
 ;;; guile.scm ends here
-- 
1.8.4.rc3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: Add guile-json.
  2014-03-31 18:21 [PATCH] gnu: Add guile-json Cyril Roelandt
@ 2014-03-31 20:02 ` Ludovic Courtès
  2014-04-01 21:58 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2014-03-31 20:02 UTC (permalink / raw)
  To: Cyril Roelandt; +Cc: guix-devel

Cyril Roelandt <tipecaml@gmail.com> skribis:

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

Excellent.  :-)

> +    (synopsis "A JSON module for Guile")

Without “A ”, IMO.

OK to push!

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: Add guile-json.
  2014-03-31 18:21 [PATCH] gnu: Add guile-json Cyril Roelandt
  2014-03-31 20:02 ` Ludovic Courtès
@ 2014-04-01 21:58 ` Ludovic Courtès
  2014-04-02 18:47   ` Mark H Weaver
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2014-04-01 21:58 UTC (permalink / raw)
  To: Cyril Roelandt; +Cc: guix-devel

I realized the modules end up in share/guile/site, so commit bf6fcf5
changes that to share/guile/site/2.0.

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: Add guile-json.
  2014-04-01 21:58 ` Ludovic Courtès
@ 2014-04-02 18:47   ` Mark H Weaver
  2014-04-02 19:13     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2014-04-02 18:47 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> I realized the modules end up in share/guile/site, so commit bf6fcf5
> changes that to share/guile/site/2.0.

Speaking of which, I noticed that the 'native-search-paths' field
of our 'guile' recipe includes "share/guile/site", but not
"share/guile/site/2.0".

Should this be fixed?  Would it force a full rebuild?

     Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: Add guile-json.
  2014-04-02 18:47   ` Mark H Weaver
@ 2014-04-02 19:13     ` Ludovic Courtès
  2014-04-02 20:18       ` Mark H Weaver
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2014-04-02 19:13 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> I realized the modules end up in share/guile/site, so commit bf6fcf5
>> changes that to share/guile/site/2.0.
>
> Speaking of which, I noticed that the 'native-search-paths' field
> of our 'guile' recipe includes "share/guile/site", but not
> "share/guile/site/2.0".

The one for Guile 1.8 has guile/site, and the one for 2.0 has
guile/site/2.0, so I think everything is alright.  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] gnu: Add guile-json.
  2014-04-02 19:13     ` Ludovic Courtès
@ 2014-04-02 20:18       ` Mark H Weaver
  0 siblings, 0 replies; 6+ messages in thread
From: Mark H Weaver @ 2014-04-02 20:18 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

ludo@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> ludo@gnu.org (Ludovic Courtès) writes:
>>
>>> I realized the modules end up in share/guile/site, so commit bf6fcf5
>>> changes that to share/guile/site/2.0.
>>
>> Speaking of which, I noticed that the 'native-search-paths' field
>> of our 'guile' recipe includes "share/guile/site", but not
>> "share/guile/site/2.0".
>
> The one for Guile 1.8 has guile/site, and the one for 2.0 has
> guile/site/2.0, so I think everything is alright.  :-)

Indeed, my mistake.

     Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-02 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 18:21 [PATCH] gnu: Add guile-json Cyril Roelandt
2014-03-31 20:02 ` Ludovic Courtès
2014-04-01 21:58 ` Ludovic Courtès
2014-04-02 18:47   ` Mark H Weaver
2014-04-02 19:13     ` Ludovic Courtès
2014-04-02 20:18       ` Mark H Weaver

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.