Skip to content

Commit

Permalink
Merge pull request #308310 from matthiasbeyer/backport-308144-to-rele…
Browse files Browse the repository at this point in the history
…ase-23.11

[Backport release 23.11]: mdbook-pagetoc: 0.1.7 -> 0.2.0
  • Loading branch information
matthiasbeyer committed May 7, 2024
2 parents 58d2c74 + 490c921 commit b55c430
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pkgs/tools/text/mdbook-pagetoc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

rustPlatform.buildRustPackage rec {
pname = "mdbook-pagetoc";
version = "0.1.7";
version = "0.2.0";

src = fetchFromGitHub {
owner = "slowsage";
repo = pname;
rev = "v${version}";
hash = "sha256-rhg/QDdO44Qwb/z1tQEYK5DcGuUI6cQvpHTYmqYyoWY=";
hash = "sha256-A8J3cKSA//NGIVK3uE43YH3ph9DHGFlg7uOo10j2Kh8=";
};

cargoHash = "sha256-03/bLFbP+BSfRW6wyg7LnryDP0kqvfvYqrFBKFZ2xY8=";
cargoHash = "sha256-FvDvPXA4/dxVOIt1LwesBrWEsjdYcrhHescQVAiggBA=";

meta = with lib; {
description = "Table of contents for mdbook (in sidebar)";
homepage = "https://github.com/slowsage/mdbook-pagetoc";
license = licenses.mit;
maintainers = with maintainers; [ blaggacao ];
maintainers = with maintainers; [ blaggacao matthiasbeyer ];
};
}
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10141,7 +10141,9 @@ with pkgs;

mdbook-d2 = callPackage ../tools/text/mdbook-d2 { };

mdbook-pagetoc = callPackage ../tools/text/mdbook-pagetoc { };
mdbook-pagetoc = callPackage ../tools/text/mdbook-pagetoc {
inherit (rustPackages_1_76) rustPlatform;
};

mdbook-graphviz = callPackage ../tools/text/mdbook-graphviz {
inherit (darwin.apple_sdk.frameworks) CoreServices;
Expand Down

0 comments on commit b55c430

Please sign in to comment.