nixpkgs/pkgs/tools/text/comrak/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
713 B
Nix
Raw Normal View History

2022-09-26 13:19:25 +00:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "comrak";
2024-04-30 00:44:40 +00:00
version = "0.23.0";
2022-09-26 13:19:25 +00:00
src = fetchFromGitHub {
owner = "kivikakk";
repo = pname;
rev = version;
2024-04-30 00:44:40 +00:00
sha256 = "sha256-RUwJxoD6H0CgS7xyfzMLdoy19p/FuOg82EbocZh7vWs=";
2022-09-26 13:19:25 +00:00
};
2024-04-30 00:44:40 +00:00
cargoHash = "sha256-rbGl7jQABZu4aMpzlv49uMuKmw7U+9zLS6pAJIJajR8=";
2022-09-26 13:19:25 +00:00
meta = with lib; {
description = "A CommonMark-compatible GitHub Flavored Markdown parser and formatter";
mainProgram = "comrak";
2022-09-26 13:19:25 +00:00
homepage = "https://github.com/kivikakk/comrak";
changelog = "https://github.com/kivikakk/comrak/blob/${version}/changelog.txt";
license = licenses.bsd2;
maintainers = with maintainers; [ figsoda ];
};
}