[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/25: gnu: Add perl6-json-name.
From: |
guix-commits |
Subject: |
09/25: gnu: Add perl6-json-name. |
Date: |
Tue, 12 Mar 2019 16:21:33 -0400 (EDT) |
efraim pushed a commit to branch wip-perl6
in repository guix.
commit ff6c1c0b3e661eb444a86a695f3f06699c6e6fe4
Author: Efraim Flashner <address@hidden>
Date: Thu Feb 28 10:14:53 2019 +0200
gnu: Add perl6-json-name.
* gnu/packages/perl6.scm (perl6-json-name): New variable.
---
gnu/packages/perl6.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index 0cd1f02..1090809 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -253,6 +253,32 @@ 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-name
+ (package
+ (name "perl6-json-name")
+ (version "0.0.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jonathanstowe/JSON-Name.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "130qwdpbj5qdlsdz05y0rksd79lzbq79scy47n6lnf21b0hz1qjc"))))
+ (build-system rakudo-build-system)
+ (arguments '(#:with-zef? #f))
+ (home-page "https://github.com/jonathanstowe/JSON-Name")
+ (synopsis "Provides a trait to store an alternative JSON Name")
+ (description "This is released as a dependency of @code{JSON::Marshal} and
address@hidden::Unmarshal} in order to save duplication, it is intended to
store a
+separate JSON name for an attribute where the name of the JSON attribute might
be
+changed, either for aesthetic reasons or the name is not a valid Perl
identifier.
+It will of course also be needed in classes thar are going to use
address@hidden::Marshal} or @code{JSON::Unmarshal} for
serialisation/de-serialisation.")
+ (license license:artistic2.0)))
+
(define-public perl6-tap-harness
(package
(name "perl6-tap-harness")
- 07/25: gnu: Add perl6-uri., (continued)
- 07/25: gnu: Add perl6-uri., guix-commits, 2019/03/12
- 08/25: gnu: Add perl6-json-fast., guix-commits, 2019/03/12
- 14/25: gnu: Add perl6-license-spdx., guix-commits, 2019/03/12
- 12/25: gnu: Add perl6-json-class., guix-commits, 2019/03/12
- 25/25: gnu: Add perl6-json., guix-commits, 2019/03/12
- 18/25: gnu: Add perl6-svg-plot., guix-commits, 2019/03/12
- 24/25: gnu: Add perl6-mime-base64., guix-commits, 2019/03/12
- 22/25: gnu: Add perl6-grammar-profiler-simple., guix-commits, 2019/03/12
- 06/25: gnu: Add perl6-zef., guix-commits, 2019/03/12
- 10/25: gnu: Add perl6-json-unmarshal., guix-commits, 2019/03/12
- 09/25: gnu: Add perl6-json-name.,
guix-commits <=
- 05/25: gnu: Add perl6-tap-harness., guix-commits, 2019/03/12
- 15/25: gnu: Add perl6-test-meta., guix-commits, 2019/03/12
- 16/25: gnu: Add perl6-xml-writer., guix-commits, 2019/03/12
- 23/25: gnu: Add perl6-grammar-debugger., guix-commits, 2019/03/12
- 17/25: gnu: Add perl6-svg., guix-commits, 2019/03/12
- 21/25: gnu: Add perl6-test-mock., guix-commits, 2019/03/12
- 04/25: build: Add rakudo-build-system., guix-commits, 2019/03/12
- 13/25: gnu: Add perl6-meta6., guix-commits, 2019/03/12
- 11/25: gnu: Add perl6-json-marshal., guix-commits, 2019/03/12
- 19/25: gnu: Add perl6-terminal-ansicolor., guix-commits, 2019/03/12