ncdu: 2.3 -> 2.4

This commit is contained in:
Zhong Jianxin 2024-04-27 19:05:08 +08:00
parent e1b03a0e51
commit 30b5213241
2 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@
, stdenv
, fetchurl
, ncurses
, zig_0_11
, zig
, installShellFiles
, testers
, pie ? stdenv.isDarwin
@ -10,15 +10,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ncdu";
version = "2.3";
version = "2.4";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdu-${finalAttrs.version}.tar.gz";
hash = "sha256-u84dHHDxJHZxvk6iE12MUs0ppwivXtYs7Np9xqgACjw=";
hash = "sha256-Sj0AAjCc9qfOp5GTjayb7N7OTVKdDW3I2RtztOaFVQk=";
};
nativeBuildInputs = [
zig_0_11.hook
zig.hook
installShellFiles
];
@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://dev.yorhel.nl/ncdu/changes2";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pSub rodrgz ];
inherit (zig_0_11.meta) platforms;
inherit (zig.meta) platforms;
mainProgram = "ncdu";
};
})

View File

@ -33595,7 +33595,9 @@ with pkgs;
netcoredbg = callPackage ../development/tools/misc/netcoredbg { };
ncdu = callPackage ../tools/misc/ncdu { };
ncdu = callPackage ../tools/misc/ncdu {
zig = zig_0_12;
};
ncdu_1 = callPackage ../tools/misc/ncdu/1.nix { };