Skip to content

Commit

Permalink
diffstat: add a trivial updater
Browse files Browse the repository at this point in the history
  • Loading branch information
trofi committed Nov 26, 2024
1 parent 7b5a392 commit a10bd6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/by-name/di/diffstat/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, zstd }:
{ fetchurl, lib, stdenv, zstd, directoryListingUpdater }:

stdenv.mkDerivation rec {
pname = "diffstat";
Expand All @@ -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";
Expand Down

0 comments on commit a10bd6b

Please sign in to comment.