mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
da5f5eea70
Also sets meta.mainProgram
23 lines
569 B
Nix
23 lines
569 B
Nix
{ lib, stdenv, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ncdu";
|
|
version = "1.18.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-fA+h6ynYWq7UuhdBZL27jwEbXDkNAXxX1mj8cjEzJAU=";
|
|
};
|
|
|
|
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;
|
|
maintainers = with maintainers; [ pSub ];
|
|
mainProgram = "ncdu";
|
|
};
|
|
}
|