From patchwork Sun Apr 24 22:36:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 38781 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 1EBF127BBEA; Sun, 24 Apr 2022 23:38:16 +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 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 D540827BBE9 for ; Sun, 24 Apr 2022 23:38:15 +0100 (BST) Received: from localhost ([::1]:46496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nikrv-0006r7-0R for patchwork@mira.cbaines.net; Sun, 24 Apr 2022 18:38:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nikri-0006qS-7t for guix-patches@gnu.org; Sun, 24 Apr 2022 18:38:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38174) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nikrh-0006E4-Vv for guix-patches@gnu.org; Sun, 24 Apr 2022 18:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nikrh-0005v3-UJ for guix-patches@gnu.org; Sun, 24 Apr 2022 18:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55100] [PATCH] gnu: Add cl-formgrep. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Apr 2022 22:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55100 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55100@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.165083982722676 (code B ref -1); Sun, 24 Apr 2022 22:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Apr 2022 22:37:07 +0000 Received: from localhost ([127.0.0.1]:60304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nikqp-0005tg-6e for submit@debbugs.gnu.org; Sun, 24 Apr 2022 18:37:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:53940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nikqn-0005tY-Fd for submit@debbugs.gnu.org; Sun, 24 Apr 2022 18:37:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nikqn-0005hn-7Z for guix-patches@gnu.org; Sun, 24 Apr 2022 18:37:05 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:13402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nikqj-0005vT-LA for guix-patches@gnu.org; Sun, 24 Apr 2022 18:37:04 -0400 Date: Sun, 24 Apr 2022 22:36:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650839810; bh=yJLDlZsE4VyE8S1t8ILf4VHVXJjI5PC0FgneeoW0dRM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=NRBAX7R6gK75AwiRcbESitt9YlBXL1arKQCJEVoeZcP+Jxfc5mc2+Cn7yffsmT+Oi 6ZDzJaW8ViWll6Xw+Q+/Gc0nVlukDneTc0pEJwFACeLxAL/cLXcUN1/TEEB+63eF5z 06uEXrNF3ccWmBqxSrm5bJycXS2EeU/WcnGTGX5lM97woo3HdJJatpPWTrF2qI7g2u 9pfcjPbKtLbE7qWz2yK86xk0GGU19P4cD7mCIG7k6kh6bNhjw5PVOEvYEsjP60pHGi dhRoP8ETW3u+5rRseif91vl8XYXOpUAuAnqKMxSdF3d8jL12d/Wlpsk1EArElQgeDm 0aXfShzFgFs1g== From: "Paul A. Patience" Message-ID: <20220424223639.23909-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.22; envelope-from=paul@apatience.com; helo=mail-4022.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, 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: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-formgrep, cl-formgrep, ecl-formgrep): New variables. --- gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) -- 2.35.1 diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 9b89625202..4e8e0a4bfc 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -21198,3 +21198,40 @@ (define-public ecl-just-getopt-parser (define-public cl-just-getopt-parser (sbcl-package->cl-source-package sbcl-just-getopt-parser)) + +(define-public sbcl-formgrep + (let ((commit "91238cdbdd0ad815ff5d574d032b4a502febd190") + (revision "0")) + (package + (name "sbcl-formgrep") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/death/formgrep") + (commit commit))) + (file-name (git-file-name "cl-formgrep" version)) + (sha256 + (base32 "1rqzkmz6nddg5ywvs3v0k8cvxdwas38mfwgbr3rs4fdsbps90k9r")))) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria + sbcl-babel + sbcl-cl-fad + sbcl-cl-ppcre + sbcl-eclector)) + (home-page "https://github.com/death/formgrep") + (synopsis "Find top-level Lisp forms matching an operator pattern") + (description + "This library provides the @code{FORMGREP} function and related +utilities which find top-level Lisp forms matching the regular expression +corresponding to an operator name, returning the matched forms and the names +of the files and the line numbers where they were found.") + (license license:expat)))) + +(define-public cl-formgrep + (sbcl-package->cl-source-package sbcl-formgrep)) + +(define-public ecl-formgrep + (sbcl-package->ecl-package sbcl-formgrep))