ncdu: 2.2.2 -> 2.3

Changelog: https://dev.yorhel.nl/ncdu/changes2

authored by Daniel Nagy and committed by Anderson Torres 0b6d3959 d6c69dbd

+12 -5
+12 -5
pkgs/tools/misc/ncdu/default.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , ncurses 5 - , zig_0_10 5 + , zig_0_11 6 + , installShellFiles 6 7 }: 7 8 8 9 stdenv.mkDerivation (finalAttrs: { 9 10 pname = "ncdu"; 10 - version = "2.2.2"; 11 + version = "2.3"; 11 12 12 13 src = fetchurl { 13 14 url = "https://dev.yorhel.nl/download/ncdu-${finalAttrs.version}.tar.gz"; 14 - hash = "sha256-kNkgAk51Ixi0aXds5X4Ds8cC1JMprZglruqzbDur+ZM="; 15 + hash = "sha256-u84dHHDxJHZxvk6iE12MUs0ppwivXtYs7Np9xqgACjw="; 15 16 }; 16 17 17 18 nativeBuildInputs = [ 18 - zig_0_10.hook 19 + zig_0_11.hook 20 + installShellFiles 19 21 ]; 20 22 21 23 buildInputs = [ 22 24 ncurses 23 25 ]; 24 26 27 + postInstall = '' 28 + installManPage ncdu.1 29 + ''; 30 + 25 31 meta = { 26 32 homepage = "https://dev.yorhel.nl/ncdu"; 27 33 description = "Disk usage analyzer with an ncurses interface"; 28 34 changelog = "https://dev.yorhel.nl/ncdu/changes2"; 29 35 license = lib.licenses.mit; 30 36 maintainers = with lib.maintainers; [ pSub rodrgz ]; 31 - inherit (zig_0_10.meta) platforms; 37 + inherit (zig_0_11.meta) platforms; 38 + mainProgram = "ncdu"; 32 39 }; 33 40 })