diffstat: add a trivial updater
This commit is contained in:
parent
5706049cf6
commit
d584552796
@ -1,4 +1,4 @@
|
||||
{ fetchurl, lib, stdenv, zstd }:
|
||||
{ fetchurl, lib, stdenv, zstd, directoryListingUpdater }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "diffstat";
|
||||
@ -14,6 +14,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ zstd ];
|
||||
|
||||
passthru.updateScript = directoryListingUpdater {
|
||||
url = "https://invisible-island.net/archives/diffstat/";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Read output of diff and display a histogram of the changes";
|
||||
mainProgram = "diffstat";
|
||||
|
Loading…
Reference in New Issue
Block a user