File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchurl ,
5+ pkg-config ,
56 ncurses ,
7+ versionCheckHook ,
68} :
79
8- stdenv . mkDerivation rec {
10+ stdenv . mkDerivation ( finalAttrs : {
911 pname = "ncdu" ;
10- version = "1.18.1 " ;
12+ version = "1.22 " ;
1113
1214 src = fetchurl {
13- url = "https://dev.yorhel.nl/download/${ pname } -${ version } .tar.gz" ;
14- sha256 = "sha256-fA+h6ynYWq7UuhdBZL27jwEbXDkNAXxX1mj8cjEzJAU =" ;
15+ url = "https://dev.yorhel.nl/download/ncdu -${ finalAttrs . version } .tar.gz" ;
16+ sha256 = "sha256-CtbAltwE1RIFgRBHYMAbj06X1BkdbJ73llT6PGkaF2s =" ;
1517 } ;
1618
19+ nativeBuildInputs = [ pkg-config ] ;
20+
1721 buildInputs = [ ncurses ] ;
1822
19- meta = with lib ; {
23+ nativeInstallCheckInputs = [ versionCheckHook ] ;
24+ doInstallCheck = true ;
25+
26+ meta = {
2027 description = "Disk usage analyzer with an ncurses interface" ;
2128 homepage = "https://dev.yorhel.nl/ncdu" ;
22- license = licenses . mit ;
23- platforms = platforms . all ;
24- maintainers = with maintainers ; [ pSub ] ;
29+ license = lib . licenses . mit ;
30+ platforms = lib . platforms . all ;
31+ maintainers = with lib . maintainers ; [ pSub ] ;
2532 mainProgram = "ncdu" ;
2633 } ;
27- }
34+ } )
You can’t perform that action at this time.
0 commit comments