python313Packages.filedepot: add legacy-cgi for Python 3.13 (#372373)
[NixPkgs.git] / pkgs / by-name / co / comrak / package.nix
blob1da4f0558eb74787d10c5528b1dbd2eabcf9d694
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "comrak";
9   version = "0.33.0";
11   src = fetchFromGitHub {
12     owner = "kivikakk";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "sha256-VN8f5r25kfUqekt9q28oMmkzQUE+Ko8DYhRZjpbbDfM=";
16   };
18   cargoHash = "sha256-Hdjit5dpZXT7ENamUX0ygTy+XAyCkcqq94wAJUPd8DY=";
20   meta = with lib; {
21     description = "CommonMark-compatible GitHub Flavored Markdown parser and formatter";
22     mainProgram = "comrak";
23     homepage = "https://github.com/kivikakk/comrak";
24     changelog = "https://github.com/kivikakk/comrak/blob/v${version}/changelog.txt";
25     license = licenses.bsd2;
26     maintainers = with maintainers; [
27       figsoda
28       kivikakk
29     ];
30   };