1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools/text/diffstat/default.nix
Will Dietz 19f1fd14b3 invisible-island programs: Fix FTP URL's, use HTTPS, prefer ftp
FTP URL's should use ftp.invisible-island.net.
2018-01-02 12:31:33 -06:00

27 lines
813 B
Nix

{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "diffstat-1.61";
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/diffstat/${name}.tgz"
"https://invisible-mirror.net/archives/diffstat/${name}.tgz"
];
sha256 = "1vjmda2zfjxg0qkaj8hfqa8g6bfwnn1ja8696rxrjgqq4w69wd95";
};
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/;
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}