From patchwork Mon Apr 18 20:28:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 38666 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 9854D27BBEA; Mon, 18 Apr 2022 21:31:33 +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 54B4C27BBE9 for ; Mon, 18 Apr 2022 21:31:33 +0100 (BST) Received: from localhost ([::1]:57552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngY20-0001K7-HO for patchwork@mira.cbaines.net; Mon, 18 Apr 2022 16:31:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngY1X-0001Jw-EX for guix-patches@gnu.org; Mon, 18 Apr 2022 16:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngY1V-0006Ty-Vp for guix-patches@gnu.org; Mon, 18 Apr 2022 16:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngY1V-0001WD-Pp for guix-patches@gnu.org; Mon, 18 Apr 2022 16:31:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55008] [PATCH] gnu: Add cl-just-getopt-parser Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Apr 2022 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55008 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55008@debbugs.gnu.org Cc: Thomas Albers X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16503138225784 (code B ref -1); Mon, 18 Apr 2022 20:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2022 20:30:22 +0000 Received: from localhost ([127.0.0.1]:40907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngY0s-0001VE-5D for submit@debbugs.gnu.org; Mon, 18 Apr 2022 16:30:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:45050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngY0q-0001V7-Ki for submit@debbugs.gnu.org; Mon, 18 Apr 2022 16:30:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngY0q-0001Hj-Dv for guix-patches@gnu.org; Mon, 18 Apr 2022 16:30:20 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:33618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngY0o-0006LC-7t for guix-patches@gnu.org; Mon, 18 Apr 2022 16:30:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1650313814; bh=KCoHfLMgUxzlxXZe/FmjTFAhpyjchUUz7POudK9NIas=; h=date:subject:cc:to: from; d=thomaslabs.org; b=jTkOlYT57oSzliNC/nk3kR2GgPP8Y5emrBWrpymTAWC3 R//jkiw7Tns9PyyUeJI5yNNLRpZwyAQOmHXPFWLRAn3/DaaBU7k8QiXGxy0uH2iu0lhTj5 EuHPMbPm4yAqNN02eNRwopQQmaSi+OqR5v2KvNv/tf8YrcsgsGdYbM7IG0vee2C8S6lLTR 6lvq3shb8PwSwxpj0nfof+sRvB/w+F93NCjSkyZuaThvCVeUOmNEmUjj/jUksfMzZhHzwZ yG3Iwl3mEkUFwuIZRcKJO53qIyH9le8c141HQwAMfGk+N4b5suHIom2E7UC6xyv6UDjg3M MjMlrSsZrbLB5YRqRQ== Received: from alpha.fritz.box (ip1f13c149.dynamic.kabel-deutschland.de [31.19.193.73]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 666c9220 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 18 Apr 2022 20:30:13 +0000 (UTC) Date: Mon, 18 Apr 2022 22:28:19 +0200 Message-Id: <20220418202818.26514-1-thomas@thomaslabs.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Received-SPF: pass client-ip=38.242.253.186; envelope-from=thomas@thomaslabs.org; helo=gamma.thomaslabs.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-just-getopt-parser, ecl-just-getopt-parser, cl-just-getopt-parser): New variables --- gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 2.35.1 diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 9317108f4c..b8f3cdb307 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Jacob MacDonald ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Paul A. Patience +;;; Copyright © 2022 Thomas Albers Raviola ;;; ;;; This file is part of GNU Guix. ;;; @@ -21009,3 +21010,32 @@ (define-public ecl-purgatory (define-public cl-purgatory (sbcl-package->cl-source-package sbcl-purgatory)) + +(define-public sbcl-just-getopt-parser + (package + (name "sbcl-just-getopt-parser") + (version "2021.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tlikonen/cl-just-getopt-parser") + (commit version))) + (sha256 + (base32 "0ngh8b51ngh3bqacl40j6wwiinhwxswsy02d9k7qlzv9sbjxay4s")) + (file-name (git-file-name name version)))) + (build-system asdf-build-system/sbcl) + (synopsis "Getopt-like command-line parser for Common Lisp") + (description + "This package provides the @code{getopt} function to parse command-line +options. The options are organized in valid options, other arguments and +unknown arguments. Optional Lisp conditions for error situations are also +defined.") + (home-page "https://github.com/tlikonen/cl-just-getopt-parser") + (license license:cc0))) + +(define-public ecl-just-getopt-parser + (sbcl-package->ecl-package sbcl-just-getopt-parser)) + +(define-public cl-just-getopt-parser + (sbcl-package->cl-source-package sbcl-just-getopt-parser))