Merge pull request #268866 from brianmcgillion/mdbook-footnote

mdbook-footnote: init 0.1.1

authored by zimbatm.tngl.sh and committed by

GitHub d6671b3d 506a458c

+38
+6
maintainers/maintainer-list.nix
··· 2627 2627 github = "brianmcgee"; 2628 2628 githubId = 1173648; 2629 2629 }; 2630 + brianmcgillion = { 2631 + name = "Brian McGillion"; 2632 + email = "bmg.avoin@gmail.com"; 2633 + github = "brianmcgillion"; 2634 + githubId = 1044263; 2635 + }; 2630 2636 brodes = { 2631 2637 email = "me@brod.es"; 2632 2638 github = "brhoades";
+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;