nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 29 lines 738 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5}: 6rustPlatform.buildRustPackage rec { 7 pname = "mdbook-footnote"; 8 version = "0.1.1"; 9 10 src = fetchFromGitHub { 11 owner = "daviddrysdale"; 12 repo = "mdbook-footnote"; 13 tag = "v${version}"; 14 hash = "sha256-WUMgm1hwsU9BeheLfb8Di0AfvVQ6j92kXxH2SyG3ses="; 15 }; 16 17 cargoHash = "sha256-3tuejWMZlEAOgnBKEqZP2a72a8QP1yamfE/g2BJDEbg="; 18 19 meta = { 20 description = "Preprocessor for mdbook to support the inclusion of automatically numbered footnotes"; 21 mainProgram = "mdbook-footnote"; 22 homepage = "https://github.com/daviddrysdale/mdbook-footnote"; 23 license = lib.licenses.asl20; 24 maintainers = with lib.maintainers; [ 25 brianmcgillion 26 matthiasbeyer 27 ]; 28 }; 29}