summary refs log tree commit diff
path: root/pkgs/tools/text/diffstat/default.nix
blob: e70dfaedddf5f9807c29b0d50b7baa20f588d279 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ fetchurl, stdenv }:

stdenv.mkDerivation rec {
  name = "diffstat-1.58";

  src = fetchurl {
    url = "ftp://invisible-island.net/diffstat/${name}.tgz";
    sha256 = "14rpf5c05ff30f6vn6pn6pzy0k4g4is5im656ahsxff3k58i7mgs";
  };

  meta = with stdenv.lib; {
    description = "Read output of diff and display a histogram of the changes";
    longDescription = ''
      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.
    '';
    homepage = http://invisible-island.net/diffstat/;
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = [ maintainers.bjornfor ];
  };
}