2014-06-22 13:39:28 +02:00
|
|
|
{ fetchurl, stdenv }:
|
2008-05-14 09:58:32 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-10 17:30:42 +01:00
|
|
|
name = "diffstat-1.58";
|
2008-05-14 09:58:32 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-22 13:39:28 +02:00
|
|
|
url = "ftp://invisible-island.net/diffstat/${name}.tgz";
|
2013-12-10 17:30:42 +01:00
|
|
|
sha256 = "14rpf5c05ff30f6vn6pn6pzy0k4g4is5im656ahsxff3k58i7mgs";
|
2008-05-14 09:58:32 +02:00
|
|
|
};
|
|
|
|
|
2014-06-22 13:39:28 +02: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 09:58:32 +02:00
|
|
|
homepage = http://invisible-island.net/diffstat/;
|
2014-06-22 13:39:28 +02:00
|
|
|
license = licenses.mit;
|
2014-06-24 23:45:07 +02:00
|
|
|
platforms = platforms.unix;
|
2014-06-22 13:39:28 +02:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2008-05-14 09:58:32 +02:00
|
|
|
};
|
|
|
|
}
|