diffstat: clean up expression
Most importantly, add meta.description and meta.platforms.
This commit is contained in:
parent
c5e0079962
commit
3ae765278f
@ -4,14 +4,20 @@ stdenv.mkDerivation rec {
|
|||||||
name = "diffstat-1.58";
|
name = "diffstat-1.58";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://invisible-island.net/diffstat/"+ name +".tgz";
|
url = "ftp://invisible-island.net/diffstat/${name}.tgz";
|
||||||
sha256 = "14rpf5c05ff30f6vn6pn6pzy0k4g4is5im656ahsxff3k58i7mgs";
|
sha256 = "14rpf5c05ff30f6vn6pn6pzy0k4g4is5im656ahsxff3k58i7mgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
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.
|
||||||
|
'';
|
||||||
homepage = http://invisible-island.net/diffstat/;
|
homepage = http://invisible-island.net/diffstat/;
|
||||||
longDescription = "diffstat reads the output of diff and displays a
|
license = licenses.mit;
|
||||||
istogram of the insertions, deletions, and modifications per-file. It
|
platforms = platforms.linux;
|
||||||
s useful for reviewing large, complex patch files.";
|
maintainers = [ maintainers.bjornfor ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user