2021-01-10 23:54:33 -08:00
|
|
|
{ fetchurl, lib, stdenv }:
|
2008-05-14 00:58:32 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-01-19 03:24:55 -08:00
|
|
|
name = "diffstat-1.64";
|
2008-05-14 00:58:32 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-02 10:15:48 -08:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.invisible-island.net/diffstat/${name}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/diffstat/${name}.tgz"
|
|
|
|
];
|
2021-01-19 03:24:55 -08:00
|
|
|
sha256 = "sha256-uK7jjZ0uHQWSbmtVgQqdLC3UB/JNaiZzh1Y6RDbj9/w=";
|
2008-05-14 00:58:32 -07:00
|
|
|
};
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2014-06-22 04:39:28 -07:00
|
|
|
description = "Read output of diff and display a histogram of the changes";
|
|
|
|
longDescription = ''
|
|
|
|
diffstat reads the output of diff and displays a histogram of the
|
|
|
|
insertions, deletions, and modifications per-file. It is useful for
|
|
|
|
reviewing large, complex patch files.
|
|
|
|
'';
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://invisible-island.net/diffstat/";
|
2014-06-22 04:39:28 -07:00
|
|
|
license = licenses.mit;
|
2014-06-24 14:45:07 -07:00
|
|
|
platforms = platforms.unix;
|
2014-06-22 04:39:28 -07:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2008-05-14 00:58:32 -07:00
|
|
|
};
|
|
|
|
}
|