Subject: [bug#51483] [PATCH v2] gnu: Add cl-pass

From: Foo Chuan Wei <[email-masked]>
Date: Fri, 29 Oct 2021 23:49:49 +0000

* gnu/packages/lisp-xyz.scm (cl-pass, ecl-cl-pass, sbcl-cl-pass):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e4e13b7ed7..0410709e83 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18595,3 +18595,34 @@ higher-level lispier interface.")
 
 (define-public ecl-cl-charms
   (sbcl-package->ecl-package sbcl-cl-charms))
+
+(define-public sbcl-cl-pass
+  (let ((commit "e58e97c0c0588dc742c061208afb9bc31e4dbd34")
+        (revision "1"))
+    (package
+      (name "sbcl-cl-pass")
+      (version (git-version "0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/eudoxia0/cl-pass")
+                       (commit commit)))
+                (file-name (git-file-name "cl-pass" version))
+                (sha256
+                  (base32
+                    "05qx4jrkxqbqi72cxgswbpnifbdvp9mh7apc7566v522899bh0hb"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs `(("ironclad" ,sbcl-ironclad)
+                ("trivial-utf-8" ,sbcl-trivial-utf-8)
+                ("split-sequence" ,sbcl-split-sequence)))
+      (native-inputs `(("fiveam" ,sbcl-fiveam)))
+      (home-page "https://github.com/eudoxia0/cl-pass")
+      (synopsis "Password hashing and verification library")
+      (description "cl-pass is a password hashing and verification library.")
+      (license license:expat))))
+
+(define-public cl-pass
+  (sbcl-package->cl-source-package sbcl-cl-pass))
+
+(define-public ecl-cl-pass
+  (sbcl-package->ecl-package sbcl-cl-pass))

base-commit: ad39268cdf075f4c4eeb87ed78ce46ca6f817675
-- 
2.25.1