summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndré Alexandre Gomes <andremegafone@gmail.com>2021-03-03 08:48:54 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2021-03-03 08:48:54 +0100
commitdb22d9364efb9baae534386f5b80928a83249ff2 (patch)
treeb868fefb64d935c29a9ccaaa61c73e4a9b60c3cd
parent073ae1b9c4f592cedc32fcbe851065d7b6a2cc40 (diff)
downloadguix-db22d9364efb9baae534386f5b80928a83249ff2.tar.gz
gnu: Add cl-html-diff.
* gnu/packages/lisp-xyz.scm (cl-html-diff, ecl-cl-html-diff,
sbcl-cl-html-diff): New variables.

Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
-rw-r--r--gnu/packages/lisp-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e08d9ab1a4..5aabbbd831 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -14716,3 +14716,35 @@ sequences based on the Python difflib module.")
 
 (define-public cl-difflib
   (sbcl-package->cl-source-package sbcl-cl-difflib))
+
+(define-public sbcl-cl-html-diff
+  (let ((commit "5a0b39d1c524278d6f60851d7786bb2585614310")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-html-diff")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/wiseman/cl-html-diff")
+               (commit commit)))
+         (file-name
+          (git-file-name name version))
+         (sha256
+          (base32 "1varnijivzd4jpimn1cz8p5ks713zzha5cgl4vmb0xr8ahravwzb"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("cl-difflib" ,sbcl-cl-difflib)))
+      (home-page "https://github.com/wiseman/cl-html-diff")
+      (synopsis "Generate a human-readable diff of two HTML documents")
+      (description
+       "A Common Lisp library for generating a human-readable diff of two
+HTML documents.")
+      (license license:expat))))
+
+(define-public ecl-cl-html-diff
+  (sbcl-package->ecl-package sbcl-cl-html-diff))
+
+(define-public cl-html-diff
+  (sbcl-package->cl-source-package sbcl-cl-html-diff))