2022-08-12 12:06:08 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ncdu";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.18.1";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-fA+h6ynYWq7UuhdBZL27jwEbXDkNAXxX1mj8cjEzJAU=";
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Disk usage analyzer with an ncurses interface";
|
|
|
|
homepage = "https://dev.yorhel.nl/ncdu";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2023-10-09 19:29:22 +00:00
|
|
|
mainProgram = "ncdu";
|
2022-04-15 01:41:22 +00:00
|
|
|
};
|
|
|
|
}
|