all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26653: gnu: Add guile-sjson.
@ 2017-04-25 14:09 Christopher Allan Webber
  2017-04-25 22:19 ` Kei Kebreau
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Allan Webber @ 2017-04-25 14:09 UTC (permalink / raw)
  To: 26653


[-- Attachment #1.1: Type: text/plain, Size: 102 bytes --]

It looks like somehow I didn't send this last night as I thought I did.

Anyway, here's guile-sjson!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-guile-sjson.patch --]
[-- Type: text/x-patch, Size: 1834 bytes --]

From a62ba605afe6c994fe0c6dc8b544789fdefe4561 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Tue, 25 Apr 2017 00:18:29 -0500
Subject: [PATCH] gnu: Add guile-sjson.

* gnu/packages/guile.scm (guile-sjson): Add guile-sjson.
---
 gnu/packages/guile.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 9dd524e4b..ad2a488f6 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1768,4 +1768,33 @@ HTML (via SXML) or any other format for rendering.")
       (home-page "http://dthompson.us/software/guile-syntax-highlight")
       (license license:lgpl3+))))
 
+(define-public guile-sjson
+  (package
+    (name "guile-sjson")
+    (version "0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://dustycloud.org/misc/sjson-" version
+                                  ".tar.gz"))
+              (sha256
+               (base32
+                "09hnh2brc7ihh8dv4g5hdmdj8rs8p9l3pmlgafkx145grdg7wprx"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'bootstrap
+           (lambda _ (zero? (system* "sh" "bootstrap.sh")))))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("guile" ,guile-2.2)))
+    (home-page "https://gitlab.com/dustyweb/guile-sjson")
+    (synopsis "s-expression based json reader/writer for Guile")
+    (description "guile-sjson is a json reader/writer for Guile.
+It has a nice, simple s-expression based syntax.")
+    (license license:lgpl3+)))
+
 ;;; guile.scm ends here
-- 
2.12.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#26653: gnu: Add guile-sjson.
  2017-04-25 14:09 bug#26653: gnu: Add guile-sjson Christopher Allan Webber
@ 2017-04-25 22:19 ` Kei Kebreau
  2017-04-26  3:47   ` Christopher Allan Webber
  0 siblings, 1 reply; 3+ messages in thread
From: Kei Kebreau @ 2017-04-25 22:19 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: 26653

[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]

Christopher Allan Webber <cwebber@dustycloud.org> writes:

> It looks like somehow I didn't send this last night as I thought I did.
>
> Anyway, here's guile-sjson!
>
> From a62ba605afe6c994fe0c6dc8b544789fdefe4561 Mon Sep 17 00:00:00 2001
> From: Christopher Allan Webber <cwebber@dustycloud.org>
> Date: Tue, 25 Apr 2017 00:18:29 -0500
> Subject: [PATCH] gnu: Add guile-sjson.
>
> * gnu/packages/guile.scm (guile-sjson): Add guile-sjson.
> ---
>  gnu/packages/guile.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
> index 9dd524e4b..ad2a488f6 100644
> --- a/gnu/packages/guile.scm
> +++ b/gnu/packages/guile.scm
> @@ -1768,4 +1768,33 @@ HTML (via SXML) or any other format for rendering.")
>        (home-page "http://dthompson.us/software/guile-syntax-highlight")
>        (license license:lgpl3+))))
>  
> +(define-public guile-sjson
> +  (package
> +    (name "guile-sjson")
> +    (version "0.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "https://dustycloud.org/misc/sjson-" version
> +                                  ".tar.gz"))
> +              (sha256
> +               (base32
> +                "09hnh2brc7ihh8dv4g5hdmdj8rs8p9l3pmlgafkx145grdg7wprx"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'bootstrap
> +           (lambda _ (zero? (system* "sh" "bootstrap.sh")))))))
> +    (native-inputs
> +     `(("autoconf" ,autoconf)
> +       ("automake" ,automake)
> +       ("pkg-config" ,pkg-config)))
> +    (inputs
> +     `(("guile" ,guile-2.2)))
> +    (home-page "https://gitlab.com/dustyweb/guile-sjson")
> +    (synopsis "s-expression based json reader/writer for Guile")

The linter wants a capital letter for the first letter in the synopsis.

> +    (description "guile-sjson is a json reader/writer for Guile.
> +It has a nice, simple s-expression based syntax.")
> +    (license license:lgpl3+)))
> +
>  ;;; guile.scm ends here

The rest looks good.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#26653: gnu: Add guile-sjson.
  2017-04-25 22:19 ` Kei Kebreau
@ 2017-04-26  3:47   ` Christopher Allan Webber
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Allan Webber @ 2017-04-26  3:47 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 26653-done

>> +    (synopsis "s-expression based json reader/writer for Guile")
>
> The linter wants a capital letter for the first letter in the synopsis.

Fixed.

>> +    (description "guile-sjson is a json reader/writer for Guile.
>> +It has a nice, simple s-expression based syntax.")
>> +    (license license:lgpl3+)))
>> +
>>  ;;; guile.scm ends here
>
> The rest looks good.

Woo woo!  Pushed up!

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

end of thread, other threads:[~2017-04-26  3:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25 14:09 bug#26653: gnu: Add guile-sjson Christopher Allan Webber
2017-04-25 22:19 ` Kei Kebreau
2017-04-26  3:47   ` Christopher Allan Webber

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.