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
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-S/ne3iTEnlA3AqcPg3geLzV4bYVuYPjMCITSVJFnWYI=";
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "diskonaut";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
}
|