From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3ntn-00025j-He for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3nth-0006Sl-Pu for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3ntc-0006Mj-Ao for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3ntc-0003lW-5M for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:08 -0400 Subject: [bug#34831] [PATCH 11/25] gnu: Add perl6-json-marshal. Resent-Message-ID: From: Efraim Flashner Date: Tue, 12 Mar 2019 22:20:00 +0200 Message-Id: <20190312202014.31224-11-efraim@flashner.co.il> In-Reply-To: <20190312201608.30892-1-efraim@flashner.co.il> References: <20190312201608.30892-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34831@debbugs.gnu.org * 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 39b9a6fd13..da399a45a6 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -253,6 +253,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") -- 2.21.0