1{ fetchurl, stdenv }:
2
3stdenv.mkDerivation rec {
4 name = "diffstat-1.60";
5
6 src = fetchurl {
7 url = "ftp://invisible-island.net/diffstat/${name}.tgz";
8 sha256 = "08q1zckb3q5xpqa17pl14fbi5b64xc0sjbg393ap1bivnhcf8ci0";
9 };
10
11 meta = with stdenv.lib; {
12 description = "Read output of diff and display a histogram of the changes";
13 longDescription = ''
14 diffstat reads the output of diff and displays a histogram of the
15 insertions, deletions, and modifications per-file. It is useful for
16 reviewing large, complex patch files.
17 '';
18 homepage = http://invisible-island.net/diffstat/;
19 license = licenses.mit;
20 platforms = platforms.unix;
21 maintainers = [ maintainers.bjornfor ];
22 };
23}