Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 26 lines 813 B view raw
1{ fetchurl, lib, stdenv }: 2 3stdenv.mkDerivation rec { 4 name = "diffstat-1.64"; 5 6 src = fetchurl { 7 urls = [ 8 "ftp://ftp.invisible-island.net/diffstat/${name}.tgz" 9 "https://invisible-mirror.net/archives/diffstat/${name}.tgz" 10 ]; 11 sha256 = "sha256-uK7jjZ0uHQWSbmtVgQqdLC3UB/JNaiZzh1Y6RDbj9/w="; 12 }; 13 14 meta = with lib; { 15 description = "Read output of diff and display a histogram of the changes"; 16 longDescription = '' 17 diffstat reads the output of diff and displays a histogram of the 18 insertions, deletions, and modifications per-file. It is useful for 19 reviewing large, complex patch files. 20 ''; 21 homepage = "https://invisible-island.net/diffstat/"; 22 license = licenses.mit; 23 platforms = platforms.unix; 24 maintainers = [ maintainers.bjornfor ]; 25 }; 26}