9 rustPlatform.buildRustPackage rec {
10 pname = "mdbook-katex";
14 inherit pname version;
15 hash = "sha256-O2hFv/9pqrs8cSDvHLAUnXx4mX6TN8hvPLroWgoCgwE=";
18 cargoHash = "sha256-ONZZ6D0Ien0wakjhy6P2lhx0AnRLH0xpuYon+N9Crg8=";
20 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
23 description = "Preprocessor for mdbook, rendering LaTeX equations to HTML at build time";
24 mainProgram = "mdbook-katex";
25 homepage = "https://github.com/lzanini/${pname}";
26 license = [ licenses.mit ];
27 maintainers = with maintainers; [