From patchwork Sun Mar 6 03:33:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurora X-Patchwork-Id: 37629 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 ED2FB27BBEA; Sun, 6 Mar 2022 03:35:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 BAF6627BBE9 for ; Sun, 6 Mar 2022 03:35:13 +0000 (GMT) Received: from localhost ([::1]:60198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQhfs-00021V-Pm for patchwork@mira.cbaines.net; Sat, 05 Mar 2022 22:35:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQhfj-0001yY-HB for guix-patches@gnu.org; Sat, 05 Mar 2022 22:35:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQhfj-0002ID-8N for guix-patches@gnu.org; Sat, 05 Mar 2022 22:35:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQhfj-0006wW-60 for guix-patches@gnu.org; Sat, 05 Mar 2022 22:35:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54268] [PATCH 4/6] gnu: Add cl-sha1 Resent-From: Aurora Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Mar 2022 03:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54268 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54268@debbugs.gnu.org Cc: Aurora X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164653765626576 (code B ref -1); Sun, 06 Mar 2022 03:35:03 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2022 03:34:16 +0000 Received: from localhost ([127.0.0.1]:49602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQhey-0006ua-AQ for submit@debbugs.gnu.org; Sat, 05 Mar 2022 22:34:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:50542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQhew-0006uQ-KC for submit@debbugs.gnu.org; Sat, 05 Mar 2022 22:34:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQhev-0001sS-CE for guix-patches@gnu.org; Sat, 05 Mar 2022 22:34:14 -0500 Received: from knopi.disroot.org ([178.21.23.139]:42082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQhet-00025N-Mr for guix-patches@gnu.org; Sat, 05 Mar 2022 22:34:13 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AFF6F8CAD5; Sun, 6 Mar 2022 04:34:10 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iJLp_XTiauOu; Sun, 6 Mar 2022 04:34:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1646537649; bh=MHLnthshOhG3XZ38F61ocfWQFCMCCfd8Ssv6bnXFsoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=P33HbR+OYLlEzlNjp5XxpqRgA45y89DCmMVFAuSbZcJ+ScOGIfqiPWmmlNFp149wD cFPvJMfJByME4VHwM+ZaF1WPI2gBPG04ROPv6m6/MftjjGxDBFTlkFK+x2crNYuYpB cdSpJ9sHABkkoDYG6DA7qzTCZ/yZxfS304piEkSgig0wabwo3HDtBlY2I93kXTy5c7 lHv+kq+9HMqcZUcKZomRmNmKsBo95xDPzLzJlMwco6Wm9sy1dzDwnP/lcZ7fBF5DeZ V2GxKTKBXqoeTB5PfeWevQ91GfIikVrK8295KuMZHdAXB4+iuK4ZyI1gWZqFQGPpF7 uoVwrSem6yCoQ== Date: Sun, 6 Mar 2022 03:33:36 +0000 Message-Id: <20220306033338.3363-5-rind38@disroot.org> In-Reply-To: <20220306033338.3363-1-rind38@disroot.org> References: <20220306033338.3363-1-rind38@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=rind38@disroot.org; helo=knopi.disroot.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: Aurora X-ACL-Warn: , Aurora via Guix-patches X-Patchwork-Original-From: Aurora via Guix-patches via From: Aurora X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index bdfea95..2c2c4a4 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -20775,3 +20775,32 @@ Common Lisp objects. Mostly ported from Node.js 'events' module.") (define-public ecl-event-emitter (sbcl-package->ecl-package sbcl-event-emitter)) + +(define-public sbcl-sha1 + (let ((commit "be8b1b155c3a6ad3eb9b200212af6ff52f5611de") + (revision "0")) + (package + (name "sbcl-sha1") + (version (git-version "1.0.0" revision commit)) + (home-page "https://github.com/massung/sha1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (sha256 + (base32 + "1cfn0j5yfwqkwr2dm73wr9hz8dmws3ngxlbk9886ahxkg544qx4z")))) + (build-system asdf-build-system/sbcl) + (synopsis "SHA1 Digest and HMAC for Common Lisp") + (description "A very simple implementation of SHA1 and HMAC-SHA1 for +Common Lisp. The code is intended to be easy to follow and is therefore a +little slower than it could be.") + (license license:asl2.0)))) + +(define-public cl-sha1 + (sbcl-package->cl-source-package sbcl-sha1)) + +(define-public ecl-sha1 + (sbcl-package->ecl-package sbcl-sha1))