duat: init at 0.7.7 (#458714)

This commit is contained in:
Aleksana
2025-11-14 02:50:56 +00:00
committed by GitHub

View File

@@ -0,0 +1,34 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "duat";
version = "0.7.7";
src = fetchFromGitHub {
owner = "AhoyISki";
repo = "duat";
tag = "v${finalAttrs.version}";
hash = "sha256-Q8HeUN6JeT0OktOrmX3/ohUxCUvbEnlYKukFmtuuA44=";
};
cargoHash = "sha256-Wv2EdOGGsDqdXLvqyZ1sExqTlF+hHYEJu+RON7Ge398=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Modern and customizable text editor, built and configured in Rust";
homepage = "https://github.com/AhoyISki/duat";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "duat";
};
})