1{ fetchurl, stdenv }:
2
3stdenv.mkDerivation rec {
4 name = "diffstat-1.61";
5
6 src = fetchurl {
7 url = "ftp://invisible-island.net/diffstat/${name}.tgz";
8 sha256 = "1vjmda2zfjxg0qkaj8hfqa8g6bfwnn1ja8696rxrjgqq4w69wd95";
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}