mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
31 lines
768 B
Nix
31 lines
768 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "comrak";
|
|
version = "0.55.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kivikakk";
|
|
repo = "comrak";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-uxOCxuOL3iMMVPZCG0tE9To7lJp94ILf2crm/ShCChE=";
|
|
};
|
|
|
|
cargoHash = "sha256-fn9y6Hwtw3vUq5BES796IsyNXHQm8YydmYUDWbXUA3o=";
|
|
|
|
meta = {
|
|
description = "CommonMark-compatible GitHub Flavored Markdown parser and formatter";
|
|
mainProgram = "comrak";
|
|
homepage = "https://github.com/kivikakk/comrak";
|
|
changelog = "https://github.com/kivikakk/comrak/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [
|
|
kivikakk
|
|
];
|
|
};
|
|
})
|