From patchwork Fri Apr 29 05:18:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 39005 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 52CB927BBEB; Fri, 29 Apr 2022 06:19:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0B89B27BBEA for ; Fri, 29 Apr 2022 06:19:55 +0100 (BST) Received: from localhost ([::1]:35818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkJ2o-000832-5b for patchwork@mira.cbaines.net; Fri, 29 Apr 2022 01:19:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkJ22-000802-HX for guix-patches@gnu.org; Fri, 29 Apr 2022 01:19:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkJ22-0000kd-8Z for guix-patches@gnu.org; Fri, 29 Apr 2022 01:19:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkJ22-0007DU-3j for guix-patches@gnu.org; Fri, 29 Apr 2022 01:19:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55179] [WIP PATCH 15/30] gnu: Add perl6-json-optin. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Apr 2022 05:19:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55179 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55179@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 55179-submit@debbugs.gnu.org id=B55179.165120952927603 (code B ref 55179); Fri, 29 Apr 2022 05:19:06 +0000 Received: (at 55179) by debbugs.gnu.org; 29 Apr 2022 05:18:49 +0000 Received: from localhost ([127.0.0.1]:50624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkJ1l-0007B8-49 for submit@debbugs.gnu.org; Fri, 29 Apr 2022 01:18:49 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:12262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkJ1j-0007Ai-1s for 55179@debbugs.gnu.org; Fri, 29 Apr 2022 01:18:47 -0400 Date: Fri, 29 Apr 2022 05:18:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1651209521; bh=PJQ+7RdVNOQ3tZt1sGDfZTDvPiWFI4vXFxzaHBx1YQ4=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=gjZKcKe1vyVlS8vtVvqRQYFB2B0Dg9UCYY+eWbxPh5kuZQbT9o5IaHsZu6jbDa6/P BDUPkJa8XlXxT+6wl5OnC9Uemr/D6Dmaz1RkLTLrxZ0isw7DDvE6KJrBaSJIsppaOS /o69sdq5h358HZR26e5gZMmbFjYz5ADLoRj+zUNX9EdnnYJr7HoK45b2GTnDhDEcOu uL9KF1gH9YXvoGcqvReFJct9Z/6HB2JvT7xeNjFqpMzlgdPU/hgLto+F3jzDINW8qk K37/QWWQzqLPAUlEUwMHXJ4U4x4PEdALTdR0TNM3dURsq25n1b/zvEI984RQmi6Z7j UbAyxcOkSrCJA== From: "Paul A. Patience" Message-ID: <20220429051700.373076-15-paul@apatience.com> In-Reply-To: <20220429051700.373076-1-paul@apatience.com> References: <20220429051700.373076-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/perl6.scm (perl6-json-optin): New variable. --- gnu/packages/perl6.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.36.0 diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index e00a6c5d23..54e3aa0b11 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -487,6 +487,29 @@ (define-public perl6-json-name @code{JSON::Marshal} or @code{JSON::Unmarshal} for serialisation/de-serialisation.") (license license:artistic2.0))) +(define-public perl6-json-optin + (package + (name "perl6-json-optin") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jonathanstowe/JSON-OptIn") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0iz1wd3rfcb3kdc8cylwfxr8p02bpivk7kcf3dmm2l4mmdhyk7np")))) + (build-system rakudo-build-system) + (arguments '(#:with-zef? #f)) + (home-page "https://github.com/jonathanstowe/JSON-OptIn") + (synopsis "Provide a trait and role to identify opt-in JSON serialization") + (description "This provides a trait and a role for the identification of +`opt in' serializable attributes in, e.g., @code{JSON::Marshal}. It's +probably not necessary to use this directly as it will be required by, e.g., +@code{JSON::Name}, but it's just more convenient to package it separately.") + (license license:artistic2.0))) + (define-public perl6-json-unmarshal ;; Last commit was May 2017 (let ((commit "e1b6288c5f3165058f36c0f4e171cdf2dfd640da")