aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-03 00:46:34 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-03 00:46:51 +0200
commit83a39ed7dbb975e20098c7034f9e6daba7dd02bf (patch)
treec22ac15cc3a00cdd126531f54c1142876fcaa2d7 /gnu/packages/version-control.scm
parent3c986b75f5705b37833d15353aad9a8db6d7b65b (diff)
downloadpatches-83a39ed7dbb975e20098c7034f9e6daba7dd02bf.tar
patches-83a39ed7dbb975e20098c7034f9e6daba7dd02bf.tar.gz
gnu: Add diffstat.
* gnu/packages/version-control.scm (diffstat): New variable.
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm24
1 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index f63df4a2ff..ed7d6f61ad 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -21,7 +21,8 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages version-control)
- #:use-module ((guix licenses) #:select (asl2.0 gpl1+ gpl2 gpl2+ gpl3+))
+ #:use-module ((guix licenses)
+ #:select (asl2.0 gpl1+ gpl2 gpl2+ gpl3+ x11-style))
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
@@ -413,3 +414,24 @@ when a file change has been described in the ChangeLog but the file has not
been added to the VC. vc-chlog scans changed files and generates
standards-compliant ChangeLog entries based on the changes that it detects.")
(license gpl3+)))
+
+(define-public diffstat
+ (package
+ (name "diffstat")
+ (version "1.58")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "ftp://invisible-island.net/diffstat/diffstat-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "14rpf5c05ff30f6vn6pn6pzy0k4g4is5im656ahsxff3k58i7mgs"))))
+ (build-system gnu-build-system)
+ (home-page "http://invisible-island.net/diffstat/")
+ (synopsis "Make histograms from the output of 'diff'")
+ (description
+ "diffstat reads the output of 'diff' and displays a histogram of the
+insertions, deletions, and modifications per-file. It is useful for reviewing
+large, complex patch files.")
+ (license (x11-style "file://COPYING"))))