depot/third_party/nixpkgs/pkgs/tools/misc/ncdu/default.nix
Default email d5f4a57cbf Project import generated by Copybara.
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
2023-08-10 09:59:29 +02:00

33 lines
693 B
Nix

{ lib
, stdenv
, fetchurl
, ncurses
, zig_0_10
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ncdu";
version = "2.2.2";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdu-${finalAttrs.version}.tar.gz";
hash = "sha256-kNkgAk51Ixi0aXds5X4Ds8cC1JMprZglruqzbDur+ZM=";
};
nativeBuildInputs = [
zig_0_10.hook
];
buildInputs = [
ncurses
];
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;
};
})