2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ncdu";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "1.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-gQdFqO0as3iMh9OupMwaFO327iJvdkvMOD4CS6Vq2/E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Disk usage analyzer with an ncurses interface";
|
|
|
|
homepage = "https://dev.yorhel.nl/ncdu";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with maintainers; [ pSub SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|