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