diff options
author | Aurora <rind38@disroot.org> | 2022-03-06 03:33:36 +0000 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-03-08 14:07:05 +0100 |
commit | 8cd8a4026efe70f1034e8c7d6524f68fdb835a77 (patch) | |
tree | 92e41204a003f814b3d463e2b39fe7ebb9ec6344 | |
parent | 30ff17627333e1b37111fd35a65e4b8350037391 (diff) | |
download | guix-8cd8a4026efe70f1034e8c7d6524f68fdb835a77.tar.gz |
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>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
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)) |