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