Merge pull request #91460 from evanjs/diskonaut-init

diskonaut: init at 0.3.0
This commit is contained in:
Daniël de Kok 2020-06-26 18:06:54 +02:00 committed by GitHub
commit 5e65ede6d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "diskonaut";
version = "0.3.0";
src = fetchFromGitHub {
owner = "imsnif";
repo = "diskonaut";
rev = version;
sha256 = "0vnmch2cac0j9b44vlcpqnayqhfdfdwvfa01bn7lwcyrcln5cd0z";
};
cargoSha256 = "03hqdg6pnfxnhwk0xwhwmbrk4dicjpjllbbai56a3391xac5wmi6";
# some tests fail due to non-portable (in terms of filesystems) measurements of block sizes
# try to re-enable tests once actual-file-size is added
# see https://github.com/imsnif/diskonaut/issues/50 for more info
doCheck = false;
meta = with stdenv.lib; {
description = "Terminal disk space navigator";
homepage = "https://github.com/imsnif/diskonaut";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ evanjs ];
};
}

View File

@ -921,6 +921,8 @@ in
detect-secrets = python3Packages.callPackage ../development/tools/detect-secrets { };
diskonaut = callPackage ../tools/misc/diskonaut { };
diskus = callPackage ../tools/misc/diskus {
inherit (darwin.apple_sdk.frameworks) Security;
};