Add diffstat. (by Vincent Ordy)
svn path=/nixpkgs/trunk/; revision=11823
This commit is contained in:
parent
d54af59148
commit
a0e09761e5
17
pkgs/tools/text/diffstat/default.nix
Normal file
17
pkgs/tools/text/diffstat/default.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{fetchurl, stdenv}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "diffstat-1.45";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "ftp://invisible-island.net/diffstat/"+ name +".tgz";
|
||||||
|
md5 = "cfe06ffcdbeaaa2fd296db867157ef78";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://invisible-island.net/diffstat/;
|
||||||
|
longDescription = "diffstat reads the output of diff and displays a
|
||||||
|
istogram of the insertions, deletions, and modifications per-file. It
|
||||||
|
s useful for reviewing large, complex patch files.";
|
||||||
|
};
|
||||||
|
}
|
@ -536,6 +536,10 @@ let pkgs = rec {
|
|||||||
bash makeWrapper;
|
bash makeWrapper;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
diffstat = import ../tools/text/diffstat {
|
||||||
|
inherit fetchurl stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
diffutils = useFromStdenv "diffutils"
|
diffutils = useFromStdenv "diffutils"
|
||||||
(import ../tools/text/diffutils {
|
(import ../tools/text/diffutils {
|
||||||
inherit fetchurl stdenv coreutils;
|
inherit fetchurl stdenv coreutils;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user