summary refs log tree commit diff
path: root/pkgs/tools/misc/ncdu/default.nix
blob: 6ea9d71bddc74ccd3318db5033f8eacf1cf2aeef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, ncurses }:

stdenv.mkDerivation rec {
  name = "ncdu-${version}";
  version = "1.11";

  src = fetchurl {
    url = "http://dev.yorhel.nl/download/${name}.tar.gz";
    sha256 = "0yxv87hpal05p6nii6rlnai5a8958689l9vz020w4qvlwiragbnh";
  };

  buildInputs = [ ncurses ];

  meta = with stdenv.lib; {
    description = "Ncurses disk usage analyzer";
    homepage = http://dev.yorhel.nl/ncdu;
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ pSub ];
  };
}