[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: Add cl-html-diff.
From: |
guix-commits |
Subject: |
03/03: gnu: Add cl-html-diff. |
Date: |
Wed, 3 Mar 2021 02:49:39 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit db22d9364efb9baae534386f5b80928a83249ff2
Author: André Alexandre Gomes <andremegafone@gmail.com>
AuthorDate: Wed Mar 3 08:48:54 2021 +0100
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>
---
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 e08d9ab..5aabbbd 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))