Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ fetchurl, stdenv }:
2
3stdenv.mkDerivation rec {
4 name = "diffstat-1.63";
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 = "0vyw200s5dv1257pmrh6c6fdkmw3slyz5szpqfx916xr04sdbpby";
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 = https://invisible-island.net/diffstat/;
22 license = licenses.mit;
23 platforms = platforms.unix;
24 maintainers = [ maintainers.bjornfor ];
25 };
26}