ncdu: default to v2
This commit is contained in:
parent
af7d2aaa0d
commit
98367d2c61
|
@ -1,24 +1,16 @@
|
||||||
{ lib, stdenv, fetchurl, zig, ncurses }:
|
{ lib, stdenv, fetchurl, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ncdu";
|
pname = "ncdu";
|
||||||
version = "2.1.2";
|
version = "1.17";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-ng1u8DYYo8MWcmv0khe37+Rc7HWLLJF86JLe10Myxtw=";
|
sha256 = "sha256-gQdFqO0as3iMh9OupMwaFO327iJvdkvMOD4CS6Vq2/E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
XDG_CACHE_HOME="Cache"; # FIXME This should be set in stdenv
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
zig
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
PREFIX = placeholder "out";
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Disk usage analyzer with an ncurses interface";
|
description = "Disk usage analyzer with an ncurses interface";
|
||||||
homepage = "https://dev.yorhel.nl/ncdu";
|
homepage = "https://dev.yorhel.nl/ncdu";
|
|
@ -1,16 +1,24 @@
|
||||||
{ lib, stdenv, fetchurl, ncurses }:
|
{ lib, stdenv, fetchurl, zig, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ncdu";
|
pname = "ncdu";
|
||||||
version = "1.17";
|
version = "2.1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-gQdFqO0as3iMh9OupMwaFO327iJvdkvMOD4CS6Vq2/E=";
|
sha256 = "sha256-ng1u8DYYo8MWcmv0khe37+Rc7HWLLJF86JLe10Myxtw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
XDG_CACHE_HOME="Cache"; # FIXME This should be set in stdenv
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
zig
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
PREFIX = placeholder "out";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Disk usage analyzer with an ncurses interface";
|
description = "Disk usage analyzer with an ncurses interface";
|
||||||
homepage = "https://dev.yorhel.nl/ncdu";
|
homepage = "https://dev.yorhel.nl/ncdu";
|
||||||
|
|
|
@ -919,6 +919,7 @@ mapAliases ({
|
||||||
|
|
||||||
### N ###
|
### N ###
|
||||||
|
|
||||||
|
ncdu_2 = ncdu; # Added 2022-07-22
|
||||||
nccl = throw "nccl has been renamed to cudaPackages.nccl"; # Added 2022-04-04
|
nccl = throw "nccl has been renamed to cudaPackages.nccl"; # Added 2022-04-04
|
||||||
nccl_cudatoolkit_10 = throw "nccl_cudatoolkit_10 has been renamed to cudaPackages_10.nccl"; # Added 2022-04-04
|
nccl_cudatoolkit_10 = throw "nccl_cudatoolkit_10 has been renamed to cudaPackages_10.nccl"; # Added 2022-04-04
|
||||||
nccl_cudatoolkit_11 = throw "nccl_cudatoolkit_11 has been renamed to cudaPackages_11.nccl"; # Added 2022-04-04
|
nccl_cudatoolkit_11 = throw "nccl_cudatoolkit_11 has been renamed to cudaPackages_11.nccl"; # Added 2022-04-04
|
||||||
|
|
|
@ -29260,7 +29260,7 @@ with pkgs;
|
||||||
netcoredbg = callPackage ../development/tools/misc/netcoredbg { };
|
netcoredbg = callPackage ../development/tools/misc/netcoredbg { };
|
||||||
|
|
||||||
ncdu = callPackage ../tools/misc/ncdu { };
|
ncdu = callPackage ../tools/misc/ncdu { };
|
||||||
ncdu_2 = callPackage ../tools/misc/ncdu_2 { };
|
ncdu_1 = callPackage ../tools/misc/ncdu/1.nix { };
|
||||||
|
|
||||||
ncdc = callPackage ../applications/networking/p2p/ncdc { };
|
ncdc = callPackage ../applications/networking/p2p/ncdc { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue