Files
nixpkgs/pkgs/by-name/ho/hongdown/package.nix
2026-08-01 11:52:30 +00:00

26 lines
746 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "hongdown";
version = "0.5.3";
src = fetchFromGitHub {
owner = "dahlia";
repo = "hongdown";
tag = finalAttrs.version;
hash = "sha256-yHKOGtm9ApBMry+5IROQxNEySf6q8jHpGlWPRQuDxGA=";
};
cargoHash = "sha256-VnNisWSEeyxlPQwsF6I47+jxm64ybwiq48EwpFwz7Pw=";
meta = {
description = "Markdown formatter that enforces Hong Minhee's Markdown style conventions";
mainProgram = "hongdown";
homepage = "https://github.com/dahlia/hongdown";
changelog = "https://github.com/dahlia/hongdown/blob/main/CHANGES.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ wellmannmathis ];
};
})