ncdu: 2.2.2 -> 2.3

Changelog: https://dev.yorhel.nl/ncdu/changes2
This commit is contained in:
Daniel Nagy 2023-08-05 21:30:00 +02:00 committed by Anderson Torres
parent d6c69dbd74
commit 0b6d395909

View File

@ -2,32 +2,39 @@
, stdenv
, fetchurl
, ncurses
, zig_0_10
, zig_0_11
, installShellFiles
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ncdu";
version = "2.2.2";
version = "2.3";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdu-${finalAttrs.version}.tar.gz";
hash = "sha256-kNkgAk51Ixi0aXds5X4Ds8cC1JMprZglruqzbDur+ZM=";
hash = "sha256-u84dHHDxJHZxvk6iE12MUs0ppwivXtYs7Np9xqgACjw=";
};
nativeBuildInputs = [
zig_0_10.hook
zig_0_11.hook
installShellFiles
];
buildInputs = [
ncurses
];
postInstall = ''
installManPage ncdu.1
'';
meta = {
homepage = "https://dev.yorhel.nl/ncdu";
description = "Disk usage analyzer with an ncurses interface";
changelog = "https://dev.yorhel.nl/ncdu/changes2";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pSub rodrgz ];
inherit (zig_0_10.meta) platforms;
inherit (zig_0_11.meta) platforms;
mainProgram = "ncdu";
};
})