nixpkgs/pkgs/tools/misc/pandoc-katex/default.nix

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

23 lines
629 B
Nix
Raw Normal View History

2022-08-29 16:30:08 +02:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "pandoc-katex";
2022-11-22 21:39:25 +01:00
version = "0.1.10";
2022-08-29 16:30:08 +02:00
src = fetchFromGitHub {
owner = "xu-cheng";
repo = pname;
rev = version;
2022-11-22 21:39:25 +01:00
hash = "sha256-TGilWr/Q8K+YP6FYfZqJOwtTAFiY+YX7AAole4TiSoE=";
2022-08-29 16:30:08 +02:00
};
2022-11-22 21:39:25 +01:00
cargoSha256 = "sha256-CEyS7dMG+5e/LwEKdYlHFVCBm2FPKVjJlrMFB+QGm+Y=";
2022-08-29 16:30:08 +02:00
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 ];
};
}