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