From patchwork Thu Jun 27 17:39:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: not emma X-Patchwork-Id: 65699 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 C3D2E27BBEA; Thu, 27 Jun 2024 18:40:21 +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,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 E9F5E27BBE2 for ; Thu, 27 Jun 2024 18:40:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMt6M-00045G-D2; Thu, 27 Jun 2024 13:40:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMt6G-00044N-Gt for guix-patches@gnu.org; Thu, 27 Jun 2024 13:40:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMt6G-0003ng-8b for guix-patches@gnu.org; Thu, 27 Jun 2024 13:40:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sMt6H-00082h-QA for guix-patches@gnu.org; Thu, 27 Jun 2024 13:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71807] [PATCH] gnu: chicken.scm: add chicken-srfi-99, chicken-miscmacros, chicken-packrat, chicken-json, and chicken-queues Resent-From: not emma Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Jun 2024 17:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71807 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71807@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.171950997830867 (code B ref -1); Thu, 27 Jun 2024 17:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jun 2024 17:39:38 +0000 Received: from localhost ([127.0.0.1]:43302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMt5t-00081m-Ov for submit@debbugs.gnu.org; Thu, 27 Jun 2024 13:39:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:59472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sMt5r-00081e-I5 for submit@debbugs.gnu.org; Thu, 27 Jun 2024 13:39:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMt5o-00041t-67 for guix-patches@gnu.org; Thu, 27 Jun 2024 13:39:32 -0400 Received: from mail-40132.protonmail.ch ([185.70.40.132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMt5i-0003kQ-OR for guix-patches@gnu.org; Thu, 27 Jun 2024 13:39:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1719509959; x=1719769159; bh=xwXGaNi2YquzUDz7p3VMySSZ3csbMbjq985wMKhCAvY=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=IX37o+P8QLKN+vM9PTcS/WUzV/KgMFu+9BGs6h3zOec2DIg8MSASobM7b6CSwGNWw EM2CHMZJoeN1drkpBHmkDYTbaWaovJEHis3QX2AmrsunWjn707idLrFDiRktZxNSFE NhF1sEsBsfEAtRoM85zfCz2/xelikZl7trO4yxFz+TZkcRvxIN06PB7ueQMqvd4lDR OqBCie0WDEcjSKvnCTySPfwBNCazjs/eUpzUiGl68MpD8m3DQ5WhDNLt+adv2m/PO/ p3KQWvu7XcWw5NkfbAl1I1S84zpsklgEIf9dzqZGKk/lLSGgG1K1MAgJvweNfX4aG/ AMFSwh9T5CPVA== Date: Thu, 27 Jun 2024 17:39:14 +0000 Message-ID: Feedback-ID: 84785949:user:proton X-Pm-Message-ID: 8cc05139bf86c33871a533fa9632456f968bea45 MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.132; envelope-from=bigbookofbug@proton.me; helo=mail-40132.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: not emma X-ACL-Warn: , not emma via Guix-patches X-Patchwork-Original-From: not emma via Guix-patches via From: not emma Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches a collection of some chicken eggs i packaged for a program i was attempting to package. while im still working on packaging the program, i wanted to submit these eggs to add some diversity to the chicken packages in guix :) Sent with [Proton Mail](https://proton.me/) secure email. commit 46e088259b7729c82eede46d0e32115c01f96463 Author: bigbug Date: Thu Jun 27 12:27:09 2024 -0500 add chicken-srfi-99, chicken-miscmacros, chicken-packrat, chicken-json, and chicken-queues diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm index 8f5e8ce98d..93a79fbe8c 100644 --- a/gnu/packages/chicken.scm +++ b/gnu/packages/chicken.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2020 Ekaitz Zarraga ;;; Copyright © 2020 Evan Hanson ;;; Copyright © 2020 raingloom +;;; Copyright © 2024 bigbug ;;; ;;; This file is part of GNU Guix. ;;; @@ -227,6 +228,27 @@ (define-public chicken-srfi-69 @uref{https://srfi.schemers.org/srfi-90/srfi-90.html, SRFI-90} extensions.") (license license:bsd-3))) +(define-public chicken-srfi-99 + (package + (name "chicken-srfi-99") + (version "1.4.5") + (source (origin + (method url-fetch) + (uri (egg-uri "srfi-99" version)) + (sha256 + (base32 + "033hid04aaph0xmsc68r417dnjyswfqyd20y5cl4q3v8izqi54ks")))) + (build-system chicken-build-system) + (arguments '(#:egg-name "srfi-99")) + (propagated-inputs + (list chicken-srfi-69 chicken-srfi-1 chicken-miscmacros)) + (native-inputs + (list chicken-test)) + (home-page "https://wiki.call-cc.org/eggref/5/srfi-99#srfi-99") + (synopsis "SRFI-99 record types.") + (description "This egg consists of a single library, srfi-99, that provides a number of public modules.") + (license license:bsd-3))) + (define-public chicken-agrep (package (name "chicken-agrep") @@ -315,6 +337,78 @@ (define-public chicken-iset with integers.") (license license:bsd-3))) +(define-public chicken-json + (package + (name "chicken-json") + (version "1.6") + (source (origin + (method url-fetch) + (uri (egg-uri "json" version)) + (sha256 + (base32 + "1h27h6z7awadijk9w51df9dyk3wma27fp180j7xwl27sbw7h76wz")))) + (build-system chicken-build-system) + (arguments '(#:egg-name "json")) + (propagated-inputs + (list chicken-packrat chicken-srfi-69 chicken-srfi-1)) + (home-page "https://wiki.call-cc.org/eggref/5/json") + (synopsis "A json library") + (description "This egg implements a parser and generator for the JSON data interchange format.") + (license license:expat))) + +(define-public chicken-miscmacros + (package + (name "chicken-miscmacros") + (version "1.0") + (source (origin + (method url-fetch) + (uri (egg-uri "miscmacros" version)) + (sha256 + (base32 + "0xs8ksnbpxm0a1s2bcqybliaqpr5agin4ksn3hyjwniqhzx4qzg8")))) + (build-system chicken-build-system) + (arguments '(#:egg-name "miscmacros")) + (home-page "https://wiki.call-cc.org/eggref/5/miscmacros") + (synopsis "Various helper macros") + (description "This egg provides various useful, little macros") + (license license:bsd-3))) + +(define-public chicken-packrat + (package + (name "chicken-packrat") + (version "1.5") + (source (origin + (method url-fetch) + (uri (egg-uri "packrat" version)) + (sha256 + (base32 + "0d7ly5zvswg07gzm504min730qy16yafz3acyq45smd7q52s47fp")))) + (build-system chicken-build-system) + (arguments '(#:egg-name "packrat")) + (propagated-inputs + (list chicken-srfi-1)) + (home-page "https://wiki.call-cc.org/eggref/5/packrat") + (synopsis "Packrat parsing library") + (description "Packrat parsing is a memoizing, backtracking recursive-descent parsing technique that runs in time and space linear in the size of the input text. The technique was originally discovered by Alexander Birman in 1970 , and Bryan Ford took up the idea for his master's thesis in 2002.") + (license license:expat))) + +(define-public chicken-queues + (package + (name "chicken-queues") + (version "0.1") + (source (origin + (method url-fetch) + (uri (egg-uri "queues" version)) + (sha256 + (base32 + "0i7ywz4p5fhninfgf0fk8h6cdqdp4hdqb76y5cgnzspnmv5qpg26")))) + (build-system chicken-build-system) + (arguments '(#:egg-name "queues")) + (home-page "https://wiki.call-cc.org/eggref/5/queues") + (synopsis "A queue data structure") + (description "This egg provides a single-ended queue data structure.") + (license license:public-domain))) + (define-public chicken-test (package (name "chicken-test") @@ -371,3 +465,5 @@ (define-public chicken-crypto-tools @end itemize @end itemize") (license license:bsd-3)))