From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gK1fNi3+nWXqPAEAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 03:17:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QIpUMS3+nWVY0wAA62LTzQ (envelope-from ) for ; Wed, 10 Jan 2024 03:17:17 +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="XYrm/JbK"; 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=1704853037; 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=BhpiGXQycfJqXlss0ksH+SfkhY1NcCcKmhkzRMCkZww=; b=mmkRRzTV1ndBoQek+6BmYICjHfyehczz4M9YK6wOq0aTpXtJkc4QVb843S6ShUp4yM+MZP 7jeEI3DCQZgdaMvX8gCtOapwI1BVpEhxnWQjO0MLws8y/dWxbt5hoy/+9vx+Nwwt9jVSTK lb9HK/+CqKzZ7IgVU/ElbvT/EEFvSAH6LCZ9vaw0AHUrHCN7KfIiMNi5ZYDvYX5raVxWnU X93q1z1OJg1T+mL0pozVHxokZpThm+xgI90TQUOxVBiDXZg0GS5Ib+wCsCK1SRYteSz/NZ AR8V4nYi7C2SzMcTXAvqLZQ1DviVTR4FsZcnDGUz2ovwMyBxlaIMhwVc7C9pQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704853037; a=rsa-sha256; cv=none; b=UkXOATiWaj7uudowsxkNyEyDBn5vUwi+m4hTK70P1PNdS/LMvBqdinAan5RXI/rI3HeLFg XgJ0nmgL2RYRS6OFFH6KlOwd6O3ozELvbq6CTNFoS3DPfqaVrtRyoV1Jh51TCWMZ9CwheS EdEg/ML2BuujXo5zxehRPX7cjIUMMqdgAr2aT7DXp2ADMO1N54w2UUQZm16ZBed2yNzgVX 2bclRawdPASgqPhMJAm0B6OsYYd1hKk6dEP1w6SZuF1qmHR17nLZuy7UoSmhsxzyAYhpWg qPUZElcQyJkd9/3T72QLwo0SK/XFob8NELAHliS+PPOivwZGVJgKzh8ylzuQqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=charje.net header.s=dkim5 header.b="XYrm/JbK"; 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 30EC974469 for ; Wed, 10 Jan 2024 03:17:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNO9N-000109-Nt; Tue, 09 Jan 2024 21:17:01 -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 1rNO9L-0000za-Kl for guix-patches@gnu.org; Tue, 09 Jan 2024 21:16:59 -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 1rNO9L-00085y-DC for guix-patches@gnu.org; Tue, 09 Jan 2024 21:16:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNO9O-00035p-KN; Tue, 09 Jan 2024 21:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68360] [PATCH v2] 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: Wed, 10 Jan 2024 02:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68360 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68360@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.170485298411219 (code B ref -1); Wed, 10 Jan 2024 02:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Jan 2024 02:16:24 +0000 Received: from localhost ([127.0.0.1]:41459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNO8l-0002uE-GM for submit@debbugs.gnu.org; Tue, 09 Jan 2024 21:16:24 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNMkY-0001uk-IH for submit@debbugs.gnu.org; Tue, 09 Jan 2024 19:47:19 -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 1rNMkK-0003AE-TH for guix-patches@gnu.org; Tue, 09 Jan 2024 19:47:05 -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 1rNMkH-0007c3-II for guix-patches@gnu.org; Tue, 09 Jan 2024 19:47:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=charje.net; s=dkim5; t=1704847616; 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=BhpiGXQycfJqXlss0ksH+SfkhY1NcCcKmhkzRMCkZww=; b=XYrm/JbKmR23Z/JUdwIOM/h9oVlfRWvryKEUVe9HleIRT23vNCLjk9yS1JBdqf+3g5yQ/e id8VDhVVP9xXK9gvRgqD1BQHekeiAArOIMJsAbDqm8z9wmTwu8gtzWdzfMhfcT+zzja8Qv I2XwJdtr2i+UGWhPcCP3UlpGMxBcDIlYYkgUERR0B7Uf4oAS5POTpLB2chsUPAUCHrDhpp PKROrs/toze96cHtgkOhn/Uo4ptesCmABwdCiiXPWTpCoD2v3KESI3x/G5WQ3Co3KOTapB lmBhx41Q3s4KizLIXJj4uyo/NncTOBAxDejZyUoH1EC62RALZ1+u7ez/zTrN9w== Received: from charje.net (076-187-208-035.res.spectrum.com [76.187.208.35]) by localhost (OpenSMTPD) with ESMTPSA id 1bffe7b6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 10 Jan 2024 00:46:55 +0000 (UTC) Date: Tue, 9 Jan 2024 18:44:59 -0600 Message-ID: <7fc637b85cb74a8d4b68d7731951754eb00412e4.1704847499.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 21:16:22 -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-Queue-Id: 30EC974469 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -3.31 X-Spam-Score: -3.31 X-TUID: c+34kaK9jIQr * gnu/packages/lisp-xyz.scm (cl-command-line-args, ecl-command-line-args, sbcl-command-line-args): New variables. Change-Id: I6a829e6934b93c58a9c2a3673bb553d1e2132007 --- I remembered that I need to run guix lint, so I fixed those issues. gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index aa3ea7c9ce..f5c45b8d44 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -1067,6 +1067,42 @@ (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 CLI 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