···11-{fetchurl, stdenv}:
11+{ fetchurl, stdenv }:
2233stdenv.mkDerivation rec {
44 name = "diffstat-1.58";
5566 src = fetchurl {
77- url = "ftp://invisible-island.net/diffstat/"+ name +".tgz";
77+ url = "ftp://invisible-island.net/diffstat/${name}.tgz";
88 sha256 = "14rpf5c05ff30f6vn6pn6pzy0k4g4is5im656ahsxff3k58i7mgs";
99 };
10101111- meta = {
1111+ meta = with stdenv.lib; {
1212+ description = "Read output of diff and display a histogram of the changes";
1313+ longDescription = ''
1414+ diffstat reads the output of diff and displays a histogram of the
1515+ insertions, deletions, and modifications per-file. It is useful for
1616+ reviewing large, complex patch files.
1717+ '';
1218 homepage = http://invisible-island.net/diffstat/;
1313- longDescription = "diffstat reads the output of diff and displays a
1414-istogram of the insertions, deletions, and modifications per-file. It
1515-s useful for reviewing large, complex patch files.";
1919+ license = licenses.mit;
2020+ platforms = platforms.linux;
2121+ maintainers = [ maintainers.bjornfor ];
1622 };
1723}