summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/diffstat
diff options
context:
space:
mode:
authorNicolas Pierron <nicolas.b.pierron@gmail.com>2008-05-14 07:58:32 +0000
committerNicolas Pierron <nicolas.b.pierron@gmail.com>2008-05-14 07:58:32 +0000
commita0e09761e5cb10988cfa5553a20de54f18fdc204 (patch)
tree5ea84a00ae8699d3473006722e662fff986c7204 /pkgs/tools/text/diffstat
parentd54af5914808dbca8141581bf569136de1e8faf2 (diff)
Add diffstat. (by Vincent Ordy)
svn path=/nixpkgs/trunk/; revision=11823
Diffstat (limited to 'pkgs/tools/text/diffstat')
-rw-r--r--pkgs/tools/text/diffstat/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/text/diffstat/default.nix b/pkgs/tools/text/diffstat/default.nix
new file mode 100644
index 000000000000..d1d366ba5998
--- /dev/null
+++ b/pkgs/tools/text/diffstat/default.nix
@@ -0,0 +1,17 @@
+{fetchurl, stdenv}:
+
+stdenv.mkDerivation rec {
+ name = "diffstat-1.45";
+
+ src = fetchurl {
+ url = "ftp://invisible-island.net/diffstat/"+ name +".tgz";
+ md5 = "cfe06ffcdbeaaa2fd296db867157ef78";
+ };
+
+ meta = {
+ homepage = http://invisible-island.net/diffstat/;
+ longDescription = "diffstat reads the output of diff and displays a
+istogram of the insertions, deletions, and modifications per-file. It
+s useful for reviewing large, complex patch files.";
+ };
+}