2014-06-22 11:39:28 +00:00
|
|
|
{ fetchurl, stdenv }:
|
2008-05-14 07:58:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-17 11:16:46 +00:00
|
|
|
name = "diffstat-1.62";
|
2008-05-14 07:58:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-01-02 18:15:48 +00:00
|
|
|
urls = [
|
|
|
|
"ftp://ftp.invisible-island.net/diffstat/${name}.tgz"
|
|
|
|
"https://invisible-mirror.net/archives/diffstat/${name}.tgz"
|
|
|
|
];
|
2018-08-17 11:16:46 +00:00
|
|
|
sha256 = "07sr482y6iw7n7ddkba0w51kbjc99snvnijkn5ba2xzd8hv1h2bz";
|
2008-05-14 07:58:32 +00:00
|
|
|
};
|
|
|
|
|
2014-06-22 11:39:28 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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.
|
|
|
|
'';
|
2008-05-14 07:58:32 +00:00
|
|
|
homepage = http://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
|
|
|
};
|
|
|
|
}
|