mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
26 lines
746 B
Nix
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 ];
|
|
};
|
|
})
|