nixpkgs/pkgs/tools/misc/ncdu/default.nix

22 lines
520 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
name = "ncdu-${version}";
2016-11-17 20:38:20 +00:00
version = "1.12";
src = fetchurl {
url = "http://dev.yorhel.nl/download/${name}.tar.gz";
2016-11-17 20:38:20 +00:00
sha256 = "16j9fyw73y1lk05a35i4q9i66laklgsx41lz5rxfr8m28x3lw3l2";
};
buildInputs = [ ncurses ];
2015-05-29 19:55:59 +01:00
meta = with stdenv.lib; {
description = "Ncurses disk usage analyzer";
homepage = http://dev.yorhel.nl/ncdu;
2015-05-29 19:55:59 +01:00
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ pSub ];
};
}