diff options
author | Evan Stoll <evanjsx@gmail.com> | 2020-06-24 23:45:10 -0400 |
---|---|---|
committer | Daniƫl de Kok <me@danieldk.eu> | 2020-06-26 17:53:31 +0200 |
commit | 2dad77e05c5e2b690d3efdae3b73d0c3c9c84e60 (patch) | |
tree | a15bcc0501ae1104009184e2b2e2f2564210be7f /pkgs/tools/misc/diskonaut | |
parent | 8531aee99f4907bd255545eb94468e52a79a44f1 (diff) |
diskonaut: init at 0.3.0
Diffstat (limited to 'pkgs/tools/misc/diskonaut')
-rw-r--r-- | pkgs/tools/misc/diskonaut/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/diskonaut/default.nix b/pkgs/tools/misc/diskonaut/default.nix new file mode 100644 index 0000000000000..b0a413da8c048 --- /dev/null +++ b/pkgs/tools/misc/diskonaut/default.nix @@ -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 ]; + }; +} |