From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0BagGaoEnWU3JwEAkFu2QA (envelope-from ) for ; Tue, 09 Jan 2024 09:32:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8PQvE6oEnWXwtgAAe85BDQ (envelope-from ) for ; Tue, 09 Jan 2024 09:32:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=charje.net header.s=dkim5 header.b=bVCAQNi2; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704789162; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dwXmAHaSMEA75CwgbckRyeSGmcxVMV67dBm/LAPH5Gk=; b=AXl/r4l7Rtitx8+VXgnE3iW+X1RKd3yKEVPgjG9vMDG+d8Al6l7+35P+r9pRkPrPt9VinI dTNP3tz2tOFmQRRpMajBxHlixG7EVvS05HYiIEJd1Qf/1Q+bOrgklk0u8YeKaLwnKgnlX7 WlD1+tPQq+HW2Qkbp4L9prmxGOZv86iT7QZQML/Tw3jAmTSRJUDLaoobgFsYD+ZWwHwxCy TkZ2tHvKaZay1ws5PTa1dQXLaBhXFy6oLIMXeHWOY8z4N5EQpuh+vnldVloJIBLw+mRbkf GgtHmSoaJ7hWJMzA6mXTzq35b5oJ/d2szwlYaE6J5gnrOLYOgzufD9yWj0ChvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704789162; a=rsa-sha256; cv=none; b=cOeDvFWKtwsEKySzuW9mMQvFo33ZmpL9yrXKVoZocEI+TkR/vH4iURnSjs9QLZP+zwtvFV 1F1YLtqzcfbPGRTyZH3ofPRuH6Og331p6ycCuc3ruKRUnodluEFSRp/fTuEFvp3ECwQEZL JDxbVNuwEGuBgP9EWU6BrzvkDXyXCdJT/YAilepoMm6tn2nVwXnEA+kiATBkYDq5XG09UR +cV7u6thiHLTWb+eBF0C6czUntH5QfpD+eNT+Xp+goz60nKCQHccgumdi0eLaMCrJQ0Sxn 1bXd0ByRjotltShO2rjot/gWm7AmKU5JsNX4E+5dK7/hI2QxP9CDvSHFWEp7Ww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=charje.net header.s=dkim5 header.b=bVCAQNi2; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D54F22422C for ; Tue, 9 Jan 2024 09:32:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rN7X2-0005tL-JU; Tue, 09 Jan 2024 03:32:20 -0500 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 1rN7Wm-0005MW-SM for guix-patches@gnu.org; Tue, 09 Jan 2024 03:32:07 -0500 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 1rN7Wl-0005IM-Ql for guix-patches@gnu.org; Tue, 09 Jan 2024 03:32:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rN7Wn-0007rX-4r; Tue, 09 Jan 2024 03:32:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68341] [PATCH] gnu: Add cl-command-line-args Resent-From: Charles Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 09 Jan 2024 08:32:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68341 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68341@debbugs.gnu.org Cc: Charles , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , jgart Received: via spool by submit@debbugs.gnu.org id=B.170478908329415 (code B ref -1); Tue, 09 Jan 2024 08:32:04 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2024 08:31:23 +0000 Received: from localhost ([127.0.0.1]:38247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rN7W5-0007cr-MA for submit@debbugs.gnu.org; Tue, 09 Jan 2024 03:31:22 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rN5lW-0000dk-80 for submit@debbugs.gnu.org; Tue, 09 Jan 2024 01:39:13 -0500 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 1rN5lH-0004Mo-0k for guix-patches@gnu.org; Tue, 09 Jan 2024 01:38:55 -0500 Received: from 076-187-208-035.res.spectrum.com ([76.187.208.35] helo=mail.charje.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rN5lE-00025i-W3 for guix-patches@gnu.org; Tue, 09 Jan 2024 01:38:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=charje.net; s=dkim5; t=1704781929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dwXmAHaSMEA75CwgbckRyeSGmcxVMV67dBm/LAPH5Gk=; b=bVCAQNi233fFfmaKUAvSmxX6wv8Rhme9/NpWmGxRiCpqPE7j9r59aGPKeFd1c+dOGS6F0e E02UD3JdbBH/yg/xeJ9grD4WDnIuunhr5F+AZCtfVLsSO7dCTe5/yvtRx6wpCWbXqOSLqa nwNIif4BwxmUS88RXCjVyN43TRvl+rsnFOdvKZ//8g+R0cqJZnriClTiVfd46vDOBamrux PIIYWAuJjQSAUvks4SGagVtRWlQwHboOSkJhkqBfD5lAi3evrgEyksDSLFwBvM0i9mTROk zAoOoDtqkm4fn241KWjZBKYPkao90SblHA/jtGXFhTUuQeRPtaaFcOW1N3MwBA== Received: from charje.net (076-187-208-035.res.spectrum.com [76.187.208.35]) by localhost (OpenSMTPD) with ESMTPSA id 68a4646c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 9 Jan 2024 06:32:09 +0000 (UTC) Date: Tue, 9 Jan 2024 00:31:52 -0600 Message-ID: <3b2334f796e7e7a9b02ec9fcf2ddda0ac7573fc5.1704781912.git.charles@charje.net> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=76.187.208.35; envelope-from=charles@charje.net; helo=mail.charje.net X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_PBL=3.335, RCVD_IN_SORBS_DUL=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 09 Jan 2024 03:30:48 -0500 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: Charles X-ACL-Warn: , Charles via Guix-patches From: Charles via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.81 X-Spam-Score: -4.81 X-Migadu-Queue-Id: D54F22422C X-Migadu-Scanner: mx12.migadu.com X-TUID: oGodMyU+rZ+N * gnu/packages/lisp-xyz.scm (cl-command-line-args, ecl-command-line-args, sbcl-command-line-args): New variables. Change-Id: Ic9a3906396caacffa7c056242067545d24c058b5 --- gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index aa3ea7c9ce..15347af0c3 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -1067,6 +1067,43 @@ (define-public cl-clingon (define-public ecl-clingon (sbcl-package->ecl-package sbcl-clingon)) +(define-public sbcl-command-line-args + (package + (name "sbcl-command-line-args") + (version "0.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~whereiseveryone/command-line-args") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01p52zxr1b49c15ichlc3zadd1mrmwxzria53j949ayl2j6k8w1b")))) + (build-system asdf-build-system/sbcl) + (arguments + '(#:asd-systems '("whereiseveryone.command-line-args"))) + (inputs + (list sbcl-alexandria + sbcl-serapeum + sbcl-cl-str + sbcl-trivia)) + (home-page "https://git.sr.ht/~whereiseveryone/command-line-args") + (synopsis "Automatically create a command-line-argument parser for a given +Common Lisp function definition.") + (description "Command-Line-Args provides a main macro (@code{command}) that +wraps a @code{defun} form and creates a new function that parses the command line +arguments. It has support for command-line options, positoinal, and variadic +arguments. It also generates a basic help message. The interface is meant to +be easy and non-intrusive.") + (license license:agpl3+))) + +(define-public cl-command-line-args + (sbcl-package->cl-source-package sbcl-command-line-args)) + +(define-public ecl-command-line-args + (sbcl-package->ecl-package sbcl-command-line-args)) + (define-public sbcl-cl-irc (let ((commit "963823537c7bfcda2edd4c44d172192da6722175") (revision "0")) base-commit: 3de361d9c9d320aefbd43710124d7b07af891de1 -- 2.41.0