at 24.11-pre 883 B view raw
1{ fetchurl, lib, stdenv }: 2 3stdenv.mkDerivation rec { 4 pname = "diffstat"; 5 version = "1.66"; 6 7 src = fetchurl { 8 urls = [ 9 "ftp://ftp.invisible-island.net/diffstat/diffstat-${version}.tgz" 10 "https://invisible-mirror.net/archives/diffstat/diffstat-${version}.tgz" 11 ]; 12 sha256 = "sha256-9UUxu+Mujg+kYfAYtB469Ra2MggBcvNh8F5QNn7Ltp4="; 13 }; 14 15 meta = with lib; { 16 description = "Read output of diff and display a histogram of the changes"; 17 mainProgram = "diffstat"; 18 longDescription = '' 19 diffstat reads the output of diff and displays a histogram of the 20 insertions, deletions, and modifications per-file. It is useful for 21 reviewing large, complex patch files. 22 ''; 23 homepage = "https://invisible-island.net/diffstat/"; 24 license = licenses.mit; 25 platforms = platforms.unix; 26 maintainers = [ maintainers.bjornfor ]; 27 }; 28}