pasfmt: init at 0.7.0 (#460632)

This commit is contained in:
Sandro
2025-11-23 04:05:24 +00:00
committed by GitHub
+28
View File
@@ -0,0 +1,28 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "pasfmt";
version = "0.7.0";
src = fetchFromGitHub {
owner = "integrated-application-development";
repo = "pasfmt";
rev = "v${finalAttrs.version}";
hash = "sha256-f8aXZdgiZJS/iIKgqisx97g/IRL5skstsb788QFffV4=";
};
cargoHash = "sha256-hSPFgf2G7JBFbnejuBwCdmt2xnLosu+OPO51UVt1QtA=";
meta = {
description = "Delphi/Pascal code formatter";
homepage = "https://github.com/integrated-application-development/pasfmt";
changelog = "https://github.com/integrated-application-development/pasfmt/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ daru-san ];
mainProgram = "pasfmt";
};
})