GNU bug report logs - #75815
[PATCH] gnu: Add cl-fuzzy-match

Previous Next

Package: guix-patches;

Reported by: Junker <dk <at> junkeria.club>

Date: Fri, 24 Jan 2025 21:32:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Junker <dk <at> junkeria.club>
To: 75815 <at> debbugs.gnu.org
Subject: [bug#75815] [PATCH v3] gnu: Add cl-fuzzy-match.
Date: Fri, 31 Jan 2025 15:58:55 +0300
* gnu/packages/lisp-xyz.scm (cl-fuzzy-match,
ecl-fuzzy-match, sbcl-fuzzy-match): New variables.

Change-Id: I65be6ab95bfec08e69bd4bf9658b140af3ea2025
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f00f0d30e2..ef0a30133e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -5953,6 +5953,38 @@ (define-public cl-ftp
 (define-public ecl-cl-ftp
   (sbcl-package->ecl-package sbcl-cl-ftp))
 
+(define-public sbcl-fuzzy-match
+  (let ((commit "e46ca41ef4641461f7be006782e3cfdcf73ba98a")
+        (revision "1"))
+    (package
+      (name "sbcl-fuzzy-match")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/vindarel/fuzzy-match")
+               (commit commit)))
+         (file-name (git-file-name "cl-fuzzy-match" version))
+         (sha256
+          (base32 "1lawndmzkl6f9sviy7ngn2s3xkc4akp8l505kvpslaz6qq0ayyqv"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-cl-str
+                    sbcl-mk-string-metrics))
+      (home-page "https://github.com/vindarel/fuzzy-match")
+      (synopsis "Common Lisp library for fuzzy matching candidates from an
+input string")
+      (description
+       "From a string input and a list of candidates, return the most relevant
+candidates first")
+      (license license:expat))))
+
+(define-public cl-fuzzy-match
+  (sbcl-package->cl-source-package sbcl-fuzzy-match))
+
+(define-public ecl-fuzzy-match
+  (sbcl-package->ecl-package sbcl-fuzzy-match))
+
 (define-public sbcl-cl-gamepad
   (let ((commit "d5b99fbaa2e39294d23061699e8f1e761eda7205")
         (revision "3"))

base-commit: ea7a6fa8c66ef3cfd0ccdec6c0a7a3e7ab3dfc9c
-- 
2.48.1





This bug report was last modified 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.