[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: gnu: Add cl-sha1.
From: |
guix-commits |
Subject: |
04/05: gnu: Add cl-sha1. |
Date: |
Tue, 8 Mar 2022 08:18:59 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit 8cd8a4026efe70f1034e8c7d6524f68fdb835a77
Author: Aurora <rind38@disroot.org>
AuthorDate: Sun Mar 6 03:33:36 2022 +0000
gnu: Add cl-sha1.
* gnu/packages/lisp-xyz.scm (cl-sha1, ecl-sha1, sbcl-sha1): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index cd905dfa96..1332ed934d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20778,3 +20778,33 @@ Common Lisp objects. It is mostly ported from Node.js
@code{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" revision commit))
+ (home-page "https://github.com/massung/sha1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/massung/sha1")
+ (commit commit)))
+ (file-name (git-file-name "cl-sha1" version))
+ (sha256
+ (base32 "1cfn0j5yfwqkwr2dm73wr9hz8dmws3ngxlbk9886ahxkg544qx4z"))))
+ (build-system asdf-build-system/sbcl)
+ (synopsis "SHA1 Digest and HMAC for Common Lisp")
+ (description
+ "This is 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))