ncdu: add updateScript

Defelo e9350ede eb6138d3

+7
+2
pkgs/by-name/nc/ncdu/package.nix
··· 41 41 versionCheckProgramArg = "--version"; 42 42 doInstallCheck = true; 43 43 44 + passthru.updateScript = ./update.sh; 45 + 44 46 meta = { 45 47 homepage = "https://dev.yorhel.nl/ncdu"; 46 48 description = "Disk usage analyzer with an ncurses interface";
+5
pkgs/by-name/nc/ncdu/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p common-updater-scripts coreutils gnused nix-update 3 + 4 + version=$(list-git-tags --url=https://g.blicky.net/ncdu.git | tail -1 | sed 's/^v//') 5 + nix-update --version="$version" ncdu