guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/26: gnu: Add perl6-json-marshal.


From: guix-commits
Subject: 12/26: gnu: Add perl6-json-marshal.
Date: Tue, 19 Mar 2019 15:16:52 -0400 (EDT)

efraim pushed a commit to branch wip-perl6
in repository guix.

commit de084a3afc3aea30fb17770bf4b670bfc1a29d34
Author: Efraim Flashner <address@hidden>
Date:   Thu Feb 28 11:48:41 2019 +0200

    gnu: Add perl6-json-marshal.
    
    * gnu/packages/perl6.scm (perl6-json-marshal): New variable.
---
 gnu/packages/perl6.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index d2f6820..83f4a35 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -252,6 +252,33 @@ It is a drop-in replacement for @code{JSON::Tiny}'s 
from-json and to-json subs,
 but it offers a few extra features.")
     (license license:artistic2.0)))
 
+(define-public perl6-json-marshal
+  (package
+    (name "perl6-json-marshal")
+    (version "0.0.16")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/jonathanstowe/JSON-Marshal.git";)
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32
+          "0qy7j83h6gjzyyv74ncd92cd9h45rv8diaz3vldiv3b6fqwz4c6i"))))
+    (build-system rakudo-build-system)
+    (propagated-inputs
+     `(("perl6-json-fast" ,perl6-json-fast)
+       ("perl6-json-name" ,perl6-json-name)))
+    (native-inputs
+     `(("perl6-json-fast" ,perl6-json-fast)))
+    (home-page "https://github.com/jonathanstowe/JSON-Marshal";)
+    (synopsis "Simple serialisation of objects to JSON")
+    (description "This library provides a single exported subroutine to create
+a JSON representation of an object.  It should round trip back into an object
+of the same class using @code{JSON::Unmarshal}.")
+    (license license:artistic2.0)))
+
 (define-public perl6-json-name
   (package
     (name "perl6-json-name")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]