diskonaut-ng: init at 0.13.2

This commit is contained in:
Greg Shuflin
2026-02-27 12:33:23 -08:00
parent f1b59d97c8
commit aedfc6e5ae

View File

@@ -0,0 +1,40 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
__structuredAttrs = true;
pname = "diskonaut-ng";
version = "0.13.2";
src = fetchFromGitHub {
owner = "neunenak";
repo = "diskonaut";
tag = finalAttrs.version;
hash = "sha256-4gfJnqACJP1lV62Bkuarp85Idoh/H8zQ5W085yNZR5Q=";
};
cargoHash = "sha256-+NwZbR3fRj8Wi95GtsUQFWOyaZ0ekC4chsoJ5rsH3Zg=";
# 1 passed; 44 failed https://hydra.nixos.org/build/148943783/nixlog/1
doCheck = !stdenv.hostPlatform.isDarwin;
passthru.updateScript = nix-update-script { };
meta = {
description = "Terminal disk space navigator";
homepage = "https://github.com/neunenak/diskonaut";
changelog = "https://github.com/neunenak/diskonaut/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
gregshuflin
];
mainProgram = "diskonaut";
};
})