1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "pulldown-cmark";
9 version = "0.13.0";
10
11 src = fetchCrate {
12 inherit pname version;
13 hash = "sha256-lp0ywX/3phfC30QvYkO2wFZNSinP4cdm4HY744EZ02o=";
14 };
15
16 cargoHash = "sha256-ek6Eczqb/kxxoZFakGcwrgqXAtNCtQxDX2PHdOcIUjU=";
17
18 meta = {
19 description = "Pull parser for CommonMark written in Rust";
20 homepage = "https://github.com/raphlinus/pulldown-cmark";
21 license = with lib.licenses; [ mit ];
22 maintainers = with lib.maintainers; [ CobaltCause ];
23 mainProgram = "pulldown-cmark";
24 };
25}