diff options
author | André Alexandre Gomes <andremegafone@gmail.com> | 2021-03-03 08:44:36 +0100 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2021-03-03 08:46:53 +0100 |
commit | 073ae1b9c4f592cedc32fcbe851065d7b6a2cc40 (patch) | |
tree | ed8affea05cf81a72041905b00e5f56ee5d52178 /gnu | |
parent | 62418f3da71f08e2fd5730620261829186a1c3ce (diff) | |
download | guix-073ae1b9c4f592cedc32fcbe851065d7b6a2cc40.tar.gz guix-073ae1b9c4f592cedc32fcbe851065d7b6a2cc40.zip |
gnu: Add cl-difflib.
* gnu/packages/lisp-xyz.scm (cl-difflib, ecl-cl-difflib, sbcl-cl-difflib): New variables.
Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 920cafe2dd..e08d9ab1a4 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2020, 2021 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021 Aurora <rind38@disroot.org> ;;; Copyright © 2021 Matthew Kraai <kraai@ftbfs.org> +;;; Copyright © 2021 André A. Gomes <andremegafone@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -14680,3 +14681,38 @@ attributes not supported by the Common Lisp standard functions.") (define-public cl-file-attributes (sbcl-package->cl-source-package sbcl-file-attributes)) + +(define-public sbcl-cl-difflib + (let ((commit "98eb335c693f1881584b83ca7be4a0fe05355c4e") + (revision "0")) + (package + (name "sbcl-cl-difflib") + (version (git-version "0.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/wiseman/cl-difflib") + (commit commit))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "08if0abhqg191xcz9s7xv8faqq51nswzp8hw423fkqjzr24pmq48")))) + (build-system asdf-build-system/sbcl) + ;; Due to the age of this library tests use some deprecated + ;; functionality and keep failing. + (arguments + '(#:tests? #f + #:asd-files '("cl-difflib.asd"))) + (home-page "https://github.com/wiseman/cl-difflib") + (synopsis "Compute differences between pairs of sequences") + (description + "A Common Lisp library for computing differences between +sequences based on the Python difflib module.") + (license license:expat)))) + +(define-public ecl-cl-difflib + (sbcl-package->ecl-package sbcl-cl-difflib)) + +(define-public cl-difflib + (sbcl-package->cl-source-package sbcl-cl-difflib)) |