nixpkgs/pkgs/tools/typesetting/pulldown-cmark/default.nix
2024-04-03 01:11:18 +00:00

25 lines
596 B
Nix

{ lib
, rustPlatform
, fetchCrate
}:
rustPlatform.buildRustPackage rec {
pname = "pulldown-cmark";
version = "0.10.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-jRQ2BnaElhciyBPQiHw680uFC6FXs+rP8rJGWH5ZbCc=";
};
cargoHash = "sha256-UsdssFfy7cTM0wrfLDLrzbKudB5vqFINInJAteH5OTk=";
meta = {
description = "A pull parser for CommonMark written in Rust";
homepage = "https://github.com/raphlinus/pulldown-cmark";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ CobaltCause ];
mainProgram = "pulldown-cmark";
};
}