504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
23 lines
687 B
Nix
23 lines
687 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "comrak";
|
|
version = "0.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kivikakk";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-E7aSbqBest7NxphPOsxG2n5z6QdtTiYaFmgRmLh3cCI=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-SQ+G1rdiAfQj8MwjTiCgtPD5O8+jD3PSHy+rBUJlj2g=";
|
|
|
|
meta = with lib; {
|
|
description = "A CommonMark-compatible GitHub Flavored Markdown parser and formatter";
|
|
homepage = "https://github.com/kivikakk/comrak";
|
|
changelog = "https://github.com/kivikakk/comrak/blob/${version}/changelog.txt";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|