2021-01-11 07:54:33 +00:00
|
|
|
{ fetchurl, lib, stdenv }:
|
2008-05-14 07:58:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-02 09:12:13 +00:00
|
|
|
pname = "diffstat";
|
2022-10-14 10:40:13 +00:00
|
|
|
version = "1.65";
|
2008-05-14 07:58:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-02 18:15:48 +00:00
|
|
|
urls = [
|
2021-08-02 09:12:13 +00:00
|
|
|
"ftp://ftp.invisible-island.net/diffstat/diffstat-${version}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/diffstat/diffstat-${version}.tgz"
|
2018-01-02 18:15:48 +00:00
|
|
|
];
|
2022-10-14 10:40:13 +00:00
|
|
|
sha256 = "sha256-jPJ0JJJt682FkhdVw5FVWSiCRL0QP2LXQNxrg7VXooo=";
|
2008-05-14 07:58:32 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-06-22 11:39:28 +00: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-04-01 01:11:51 +00:00
|
|
|
homepage = "https://invisible-island.net/diffstat/";
|
2014-06-22 11:39:28 +00:00
|
|
|
license = licenses.mit;
|
2014-06-24 21:45:07 +00:00
|
|
|
platforms = platforms.unix;
|
2014-06-22 11:39:28 +00:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2008-05-14 07:58:32 +00:00
|
|
|
};
|
|
|
|
}
|