mdbook-footnote: init at 0.1.1

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>

+32
+28
pkgs/tools/text/mdbook-footnote/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , rustPlatform 5 + , CoreServices 6 + }: 7 + rustPlatform.buildRustPackage rec { 8 + pname = "mdbook-footnote"; 9 + version = "0.1.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "daviddrysdale"; 13 + repo = "mdbook-footnote"; 14 + rev = "v${version}"; 15 + hash = "sha256-WUMgm1hwsU9BeheLfb8Di0AfvVQ6j92kXxH2SyG3ses="; 16 + }; 17 + 18 + cargoSha256 = "sha256-Ig+uVCO5oHIkkvFsKiBiUFzjUgH/Pydn4MVJHb2wKGc="; 19 + 20 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 21 + 22 + meta = with lib; { 23 + description = "A preprocessor for mdbook to support the inclusion of automatically numbered footnotes"; 24 + homepage = "https://github.com/daviddrysdale/mdbook-footnote"; 25 + license = licenses.asl20; 26 + maintainers = with maintainers; [ brianmcgillion ]; 27 + }; 28 + }
+4
pkgs/top-level/all-packages.nix
··· 10174 10174 inherit (darwin.apple_sdk.frameworks) CoreServices; 10175 10175 }; 10176 10176 10177 + mdbook-footnote = callPackage ../tools/text/mdbook-footnote { 10178 + inherit (darwin.apple_sdk.frameworks) CoreServices; 10179 + }; 10180 + 10177 10181 mdcat = callPackage ../tools/text/mdcat { 10178 10182 inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; 10179 10183 inherit (python3Packages) ansi2html;