Merge pull request #188816 from pacien/pandoc-katex-init

pandoc-katex: init at 0.1.9

authored by superherointj and committed by GitHub 1f3a9c8c 9cd2e32a

+24
+22
pkgs/tools/misc/pandoc-katex/default.nix
···
··· 1 + { lib, fetchFromGitHub, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "pandoc-katex"; 5 + version = "0.1.9"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "xu-cheng"; 9 + repo = pname; 10 + rev = version; 11 + hash = "sha256-Sd+f1a3Y4XwSj5BupAH35UK6gQxzLy5jJCtc77R9wnM="; 12 + }; 13 + 14 + cargoSha256 = "sha256-PVEQTzkkD6V9DqcIHznfnO1wOARSxutLApaO9dlokTQ="; 15 + 16 + meta = with lib; { 17 + description = "Pandoc filter to render math equations using KaTeX"; 18 + homepage = "https://github.com/xu-cheng/pandoc-katex"; 19 + license = with licenses; [ asl20 /* or */ mit ]; 20 + maintainers = with maintainers; [ minijackson pacien ]; 21 + }; 22 + }
+2
pkgs/top-level/all-packages.nix
··· 9182 9183 pandoc-drawio-filter = python3Packages.callPackage ../tools/misc/pandoc-drawio-filter { }; 9184 9185 pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { }; 9186 9187 # pandoc-*nos is a filter suite, where pandoc-xnos has all functionality and the others are used for only specific functionality
··· 9182 9183 pandoc-drawio-filter = python3Packages.callPackage ../tools/misc/pandoc-drawio-filter { }; 9184 9185 + pandoc-katex = callPackage ../tools/misc/pandoc-katex { }; 9186 + 9187 pandoc-plantuml-filter = python3Packages.callPackage ../tools/misc/pandoc-plantuml-filter { }; 9188 9189 # pandoc-*nos is a filter suite, where pandoc-xnos has all functionality and the others are used for only specific functionality