gnu: perl6-json-class: Update to 0.0.18.

* gnu/packages/perl6.scm (perl6-json-class): Update to 0.0.18.
[source]: Reindent.
[propagated-inputs]: Move below native-inputs.
[synopsis, description]: Fix minor stylistic issues.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Paul A. Patience 2022-04-29 05:18:51 +00:00 committed by Efraim Flashner
parent aa18e500c8
commit 0402806bff
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -384,7 +384,7 @@ deserializing JSON.")
(define-public perl6-json-class (define-public perl6-json-class
(package (package
(name "perl6-json-class") (name "perl6-json-class")
(version "0.0.12") (version "0.0.18")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -393,21 +393,20 @@ deserializing JSON.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0686qpcb6p5isjcsksrgsr1rh926cnhs6r091p5p3lh2fd575g1d"))))
"1zyzajc57j3m8q0nr72h9pw4w2nx92rafywlvysgphc5q9sb8np2"))))
(build-system rakudo-build-system) (build-system rakudo-build-system)
(propagated-inputs
(list perl6-json-marshal perl6-json-unmarshal))
(native-inputs (native-inputs
(list perl6-json-fast)) (list perl6-json-fast))
(propagated-inputs
(list perl6-json-marshal perl6-json-unmarshal))
(home-page "https://github.com/jonathanstowe/JSON-Class") (home-page "https://github.com/jonathanstowe/JSON-Class")
(synopsis "Provide simple serialisation/deserialisation of objects to/from JSON") (synopsis "Provide simple serialization/deserialization of objects to/from JSON")
(description "This is a simple role that provides methods to instantiate a (description "This is a simple role that provides methods to instantiate a
class from a JSON string that (hopefully,) represents it, and to serialise an class from a JSON string that (hopefully) represents it, and to serialize an
object of the class to a JSON string. The JSON created from an instance object of the class to a JSON string. The JSON created from an instance
should round trip to a new instance with the same values for the public should round trip to a new instance with the same values for the public
attributes. Private attributes (that is ones without accessors,) will be attributes. Private attributes (that is ones without accessors,) will be
ignored for both serialisation and de-serialisation. The exact behaviour ignored for both serialization and deserialization. The exact behaviour
depends on that of @code{JSON::Marshal} and @code{JSON::Unmarshal} depends on that of @code{JSON::Marshal} and @code{JSON::Unmarshal}
respectively.") respectively.")
(license license:artistic2.0))) (license license:artistic2.0)))