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

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

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

  buildInputs = [ ncurses ];

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