7 rustPlatform.buildRustPackage rec {
8 pname = "mdbook-footnote";
11 src = fetchFromGitHub {
12 owner = "daviddrysdale";
13 repo = "mdbook-footnote";
15 hash = "sha256-WUMgm1hwsU9BeheLfb8Di0AfvVQ6j92kXxH2SyG3ses=";
18 cargoHash = "sha256-Ig+uVCO5oHIkkvFsKiBiUFzjUgH/Pydn4MVJHb2wKGc=";
20 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
23 description = "Preprocessor for mdbook to support the inclusion of automatically numbered footnotes";
24 mainProgram = "mdbook-footnote";
25 homepage = "https://github.com/daviddrysdale/mdbook-footnote";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ brianmcgillion matthiasbeyer ];