From d46e955d93692f3c4b5387aaf709a2e5e43b57b4 Mon Sep 17 00:00:00 2001 From: Garek Dyszel Date: Wed, 7 Sep 2022 14:34:29 -0400 Subject: [PATCH] gnu: Add python-icdiff. * gnu/packages/python-xyz.scm (python-icdiff): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c41e7dbf5d..ffcb023d60 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19684,6 +19684,26 @@ (define-public python-diff-match-patch perform the operations required for synchronizing plain text.") (license license:asl2.0))) +(define-public python-icdiff + (package + (name "python-icdiff") + (version "2.0.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jeffkaufman/icdiff") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14gr9j2h7sfw47pwfzspm4zinywhqmzm4a0qz5c2k9wbixz120a4")))) + (build-system python-build-system) + (home-page "https://www.jefftk.com/icdiff") + (synopsis "Improved colored diff") + (description "This package provides colored diff functions that highlight +parts of the lines that were modified.") + (license license:psfl))) + (define-public python-dirsync (package (name "python-dirsync")