aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFoo Chuan Wei <chuanwei.foo@hotmail.com>2021-10-15 10:19:33 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-10-15 11:16:59 +0200
commit9898d907e0b2cd62cbf906a5702439f47b9a3188 (patch)
treeb87eb4520d1727f4f86419c5034aa50aae5740b2
parentbdbd9e504c4bccd1c267d13854c0dd6df732e436 (diff)
downloadguix-9898d907e0b2cd62cbf906a5702439f47b9a3188.tar.gz
guix-9898d907e0b2cd62cbf906a5702439f47b9a3188.zip
gnu: Add cl-diff.
* gnu/packages/lisp-xyz.scm (cl-diff, ecl-diff, sbcl-diff): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 41d8f2fe8f..65f3e869dd 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19106,3 +19106,37 @@ provides customizable line-editing for Common Lisp programs.")
(define-public ecl-linedit
(sbcl-package->ecl-package sbcl-linedit))
+
+(define-public sbcl-diff
+ (let ((commit "9c84befa598d4e07c3d223242b5b3f83cd94f301")
+ (revision "1"))
+ (package
+ (name "sbcl-diff")
+ (version (git-version "0.4" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/froydnj/diff")
+ (commit commit)))
+ (file-name (git-file-name "cl-diff" version))
+ (sha256
+ (base32 "1giafck8qfvb688kx5bn9g32rfc12jjywg8vdav36aqbd6lxf5z5"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("cl-ppcre" ,sbcl-cl-ppcre)
+ ("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
+ (home-page "https://github.com/froydnj/diff")
+ (synopsis "Common Lisp library for computing differences between files")
+ (description
+ "DIFF is a package for computing various forms of differences between
+blobs of data and then doing neat things with those differences. Currently diff
+knows how to compute three common forms of differences: \"unified\" format
+diffs, \"context\" format diffs, and \"vdelta\" format binary diffs.")
+ (license license:bsd-3))))
+
+(define-public cl-diff
+ (sbcl-package->cl-source-package sbcl-diff))
+
+(define-public ecl-diff
+ (sbcl-package->ecl-package sbcl-diff))