2021-08-08 23:34:03 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "diskonaut";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "0.11.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "imsnif";
|
|
|
|
repo = "diskonaut";
|
|
|
|
rev = version;
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "1pmbag3r2ka30zmy2rs9jps2qxj2zh0gy4a774v9yhf0b6qjid54";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
2021-05-28 09:39:13 +00:00
|
|
|
cargoSha256 = "10jrcy8m9ll4136ghq3fhmnphd9g3rw863x708vm17n44kgdxyab";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2021-08-08 23:34:03 +00:00
|
|
|
# 1 passed; 44 failed https://hydra.nixos.org/build/148943783/nixlog/1
|
|
|
|
doCheck = !stdenv.isDarwin;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
description = "Terminal disk space navigator";
|
|
|
|
homepage = "https://github.com/imsnif/diskonaut";
|
|
|
|
license = licenses.mit;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ evanjs figsoda ];
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
}
|