depot/third_party/nixpkgs/pkgs/tools/misc/pandoc-katex/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

22 lines
629 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "pandoc-katex";
version = "0.1.10";
src = fetchFromGitHub {
owner = "xu-cheng";
repo = pname;
rev = version;
hash = "sha256-TGilWr/Q8K+YP6FYfZqJOwtTAFiY+YX7AAole4TiSoE=";
};
cargoSha256 = "sha256-CEyS7dMG+5e/LwEKdYlHFVCBm2FPKVjJlrMFB+QGm+Y=";
meta = with lib; {
description = "Pandoc filter to render math equations using KaTeX";
homepage = "https://github.com/xu-cheng/pandoc-katex";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ minijackson pacien ];
};
}