From db22d9364efb9baae534386f5b80928a83249ff2 Mon Sep 17 00:00:00 2001 From: André Alexandre Gomes Date: Wed, 3 Mar 2021 08:48:54 +0100 Subject: 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 --- gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/lisp-xyz.scm') 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 @@ (define-public ecl-cl-difflib (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)) -- cgit v1.2.3