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

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

24 lines
687 B
Nix
Raw Normal View History

2022-09-26 14:19:25 +01:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "comrak";
2022-11-14 08:16:57 +00:00
version = "0.15.0";
2022-09-26 14:19:25 +01:00
src = fetchFromGitHub {
owner = "kivikakk";
repo = pname;
rev = version;
2022-11-14 08:16:57 +00:00
sha256 = "sha256-F6MZxbB3FYEJ8tzJ0tp9/s0aLaH35QUnOJS6mCVfzUQ=";
2022-09-26 14:19:25 +01:00
};
2022-11-14 08:16:57 +00:00
cargoSha256 = "sha256-+QPzwfoxt6+gpb4bDMd++1dBKoXOTON0z2EDdgmyy60=";
2022-09-26 14:19:25 +01:00
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 ];
};
}