dtop: init at 0.6.3 (#466657)

This commit is contained in:
Aleksana
2025-12-01 03:03:32 +00:00
committed by GitHub
+37
View File
@@ -0,0 +1,37 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "dtop";
version = "0.6.3";
src = fetchFromGitHub {
owner = "amir20";
repo = "dtop";
tag = "v${finalAttrs.version}";
hash = "sha256-IAaAJFwZivN6Eq6/h1cX4zeiLBJSmfS6VqKZY9ySD8Y=";
};
cargoHash = "sha256-23EK6pTLiBl0Vhh+GqfzeHagj7ah1YqaSJdalonlAnA=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Terminal dashboard for Docker monitoring across multiple hosts with Dozzle integration";
homepage = "https://dtop.dev/";
downloadPage = "https://github.com/amir20/dtop";
changelog = "https://github.com/amir20/dtop/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ kpbaks ];
mainProgram = "dtop";
};
})