From c271a6c7760663fce8589eca29f9067ba30af27d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 10 Mar 2019 22:23:50 +0200 Subject: gnu: Add perl6-json. * gnu/packages/perl6.scm (perl6-json): New variable. --- gnu/packages/perl6.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index f67533854f..f227786e8d 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -284,6 +284,29 @@ (define-public perl6-grammar-profiler-simple have profiling information collected when the grammar is used.") (license license:artistic2.0)))) +(define-public perl6-json + (package + (name "perl6-json") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moritz/json") + ;; The commit where 1.0 was "tagged" + (commit "a5ef8c179350dae44ce7fb1abb684fc62c1c2b99"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kzryxkqyr129rcckd4jh0dfxdgzv71qx8dpkpm1divbfjyknlay")))) + (build-system rakudo-build-system) + (arguments '(#:with-zef? #f)) + (home-page "https://github.com/moritz/json") + (synopsis "A minimal JSON (de)serializer") + (description "This module is a simple Perl 6 module for serializing and +deserializing JSON.") + (license license:artistic2.0))) + (define-public perl6-json-class (package (name "perl6-json-class") -- cgit v1.2.3