From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sOE3O5wYzmMH5AAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 06:18:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iHxCO5wYzmO5xgAA9RJhRA (envelope-from ) for ; Mon, 23 Jan 2023 06:18:20 +0100 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 B8A1B3F668 for ; Mon, 23 Jan 2023 06:18:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJpDa-00031v-2f; Mon, 23 Jan 2023 00:18:06 -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 1pJpDX-00031M-1y for guix-patches@gnu.org; Mon, 23 Jan 2023 00:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJpDW-0001CL-IA for guix-patches@gnu.org; Mon, 23 Jan 2023 00:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJpDW-0007pm-2F for guix-patches@gnu.org; Mon, 23 Jan 2023 00:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61020] [PATCH] gnu: Add cl-clingon. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 23 Jan 2023 05:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61020@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167445105030060 (code B ref -1); Mon, 23 Jan 2023 05:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2023 05:17:30 +0000 Received: from localhost ([127.0.0.1]:53046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJpCy-0007oj-1L for submit@debbugs.gnu.org; Mon, 23 Jan 2023 00:17:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:46630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJpCs-0007oY-K5 for submit@debbugs.gnu.org; Mon, 23 Jan 2023 00:17:26 -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 1pJpCr-0002se-LE for guix-patches@gnu.org; Mon, 23 Jan 2023 00:17:22 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJpCo-00013k-P8 for guix-patches@gnu.org; Mon, 23 Jan 2023 00:17:21 -0500 Date: Mon, 23 Jan 2023 05:17:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1674451034; x=1674710234; bh=94Ke6ckrLgXbCOly7heXhbQjYQiO1ru9p8t3uw0UA88=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Cu0VkJm23g/vm7nrIGCqqpxTkCjFq1tj43gka3qJdQmiXEDAETrGtakLY+4TDNPSF hQcMDsnueewp0RvWSo/XoZ2kdO8IIGcZJBeRkARLdxd8reZgnL3wwvGj55UKMKEazd jjFzjtvmiDq3EbzFL6OKstqarEQXhCHAGOxQbRx9mC8xu6ieb2vhikFing/+4MowlK oLhDUP05039M05JGX8lZCE/FoKn9FeQpTwF8p5HXhBsTtkIFtH/8YkKqeUkaF8ep66 ToTuOexbtLg8xQa9QEhF6RYThxErYbgYE3IW9PGqzlpr0vNlngfdBnLHlEe+8SVq24 fxbA943ez/SaQ== From: "Paul A. Patience" Message-ID: <20230123051651.488504-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.proton.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, RCVD_IN_MSPIKE_H2=-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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674451100; a=rsa-sha256; cv=none; b=WyRyJe31dwE0IaO2PlApV435N24/42PwsiL0bNfkocpuXguK8gFYU7iWhq5yTx6I1sepPX m7gvagLkK0Cn/mFa2tx/AsIPZaiTAo7pmXKtxg29hu92p9qvDvYp+hjxLbe/kJP82JqYyb ibdPCnluTw9NW4JNBh3kdGs2RzWFaXY7whsWpDyRSqf0P5bmfCkJlSu3KG9/Tk3xuCbhss rtH2bC/+gQGHY+JuQoSTp7n68zL/CoiM6P03lsAZxVOdsKuJWz3Rt3wh8FFwki9TI9lFTM 4HpYt1CBo3uOO822ixc7e0Ji6QJCHUmnzinFHXR4W6/yjgN6uwL+u1VGTqk9Ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=Cu0VkJm2; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674451100; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=94Ke6ckrLgXbCOly7heXhbQjYQiO1ru9p8t3uw0UA88=; b=MmC6eatMFOcz45TkhOMVwqHC6WX5vJDDSorOaT5qtzLs8mBTQtIMj3OoWdNVQuWKuS9Ays lqTUM7kKpM9v0XBNRVMb4T2UayqkeyWAybgIqIOmWtawVeB7bkw7WI8JXHV7pfxdavjz3X WTmetyr6MEy4wHEuRapgqynSlWK2uPC+xUEz/EONEeopfPlR917i+7x5C/lRTPwLqaGX/S bEWvamFS3R82bPQmuLZzG+S6pNAv55r1FNIcRgWFxu8qFaP/7WYUH/TYEXvnHdEivgsjAx yxNtayTWLF3QIjY9QQbhs7OLVvAvVY10OBqK6anTIcm0ZM/IIi6Re/qGyLgAeQ== X-Spam-Score: 1.72 X-Migadu-Queue-Id: B8A1B3F668 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=Cu0VkJm2; dmarc=none; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 1.72 X-TUID: 9v5h6m7/e/tZ * gnu/packages/lisp-xyz.scm (sbcl-clingon, cl-clingon, ecl-clingon): New variables. --- gnu/packages/lisp-xyz.scm | 63 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index d2e7aae757..9edf7c2f50 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -848,6 +848,69 @@ (define-public ecl-adopt (define-public cl-adopt (sbcl-package->cl-source-package sbcl-adopt)) +(define-public sbcl-clingon + (let ((commit "4b99dcb4eb4433118a95f5b4ca49ae32b0a57492") + (revision "0")) + (package + (name "sbcl-clingon") + (version (git-version "0.4.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dnaeon/clingon") + (commit commit))) + (file-name (git-file-name "cl-clingon" version)) + (sha256 + (base32 "1nn1zs8n6rsys9s791y6sarpy3416aq848mkfr767g5s5y44ij7j"))= )) + (build-system asdf-build-system/sbcl) + (native-inputs + (list sbcl-rove)) + (inputs + (list sbcl-bobbin + sbcl-cl-reexport + sbcl-split-sequence + sbcl-with-user-abort)) + (home-page "https://github.com/dnaeon/clingon") + (synopsis "Command-line option parsing library for Common Lisp") + (description + "@code{clingon} is a command-line option parsing library for Common +Lisp. Its features include: +@itemize +@item Support for subcommands +@item Support for command aliases +@item Support for short and long options +@item Related options may be grouped into categories +@item Short options may be collapsed into a single argument, as in +@option{-xyz} +@item Long options support the notations @option{--long-opt arg} and +@option{--long-opt=3Darg} +@item Automatic generation of help/usage information for commands and +subcommands +@item Out-of-the-box support for @option{--version} and @option{--help} +@item Support for various kinds of options including string, integer, +boolean, switch, enum, list, counter, filepath, etc. +@item Subcommands can look up global options defined in parent commands +@item Support for required options +@item Options can be initialized via environment variables +@item Single interface for creating options using @code{CLINGON:MAKE-OPTIO= N} +@item Generate documentation for your command-line application +@item Support for @code{pre-hook} and @code{post-hook} actions for command= s, +which allow invoking functions before and after the respective handler of = the +command is executed +@item Support for Bash and Zsh completions +@item Extensibility, so if you don't find something you need you can exten= d it +by developing a new option kind, or even a new mechanism for initializing +options, e.g., by looking up an external key/value store +@end itemize") + (license license:bsd-2)))) + +(define-public cl-clingon + (sbcl-package->cl-source-package sbcl-clingon)) + +(define-public ecl-clingon + (sbcl-package->ecl-package sbcl-clingon)) + (define-public sbcl-cl-irc (let ((commit "963823537c7bfcda2edd4c44d172192da6722175") (revision "0")) -- 2.38.1