about summary refs log tree commit diff
path: root/pkgs/tools/misc/ncdu/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/ncdu/default.nix')
-rw-r--r--pkgs/tools/misc/ncdu/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/tools/misc/ncdu/default.nix b/pkgs/tools/misc/ncdu/default.nix
index 5209522d2529..d3b5ad2e4a43 100644
--- a/pkgs/tools/misc/ncdu/default.nix
+++ b/pkgs/tools/misc/ncdu/default.nix
@@ -2,28 +2,32 @@
 , stdenv
 , fetchurl
 , ncurses
+, pkg-config
 , zig
+, zstd
 , installShellFiles
 , testers
-, pie ? stdenv.isDarwin
+, pie ? stdenv.hostPlatform.isDarwin
 }:
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "ncdu";
-  version = "2.5";
+  version = "2.6";
 
   src = fetchurl {
     url = "https://dev.yorhel.nl/download/ncdu-${finalAttrs.version}.tar.gz";
-    hash = "sha256-f0neJQJKurGvH/IrO4VCwNFY4Bj+DpYHT9lLDh5tMaU=";
+    hash = "sha256-P0cevTi1bmDauAwn468dgmZmlX8C2ehBmxSdqvet5QU=";
   };
 
   nativeBuildInputs = [
     zig.hook
     installShellFiles
+    pkg-config
   ];
 
   buildInputs = [
     ncurses
+    zstd
   ];
 
   zigBuildFlags = lib.optional pie "-Dpie=true";