updated mdbook-toc to 0.11.0

This commit is contained in:
Vivian 2022-12-18 12:21:14 +01:00
parent c8889be612
commit 9777bde640
2 changed files with 7 additions and 6 deletions

View file

@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1669411043, "lastModified": 1671200928,
"narHash": "sha256-LfPd3+EY+jaIHTRIEOUtHXuanxm59YKgUacmSzaqMLc=", "narHash": "sha256-mZfzDyzojwj6I0wyooIjGIn81WtGVnx6+avU5Wv+VKU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5dc7114b7b256d217fe7752f1614be2514e61bb8", "rev": "757b82211463dd5ba1475b6851d3731dfe14d377",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -11,6 +11,7 @@
let pkgs = nixpkgs.legacyPackages.${system}; let pkgs = nixpkgs.legacyPackages.${system};
in { in {
packages = rec { packages = rec {
default = mdbook-toc;
container = pkgs.dockerTools.buildLayeredImage { container = pkgs.dockerTools.buildLayeredImage {
name = "mdbook-container"; name = "mdbook-container";
contents = [ contents = [
@ -23,16 +24,16 @@
}; };
mdbook-toc = pkgs.rustPlatform.buildRustPackage rec { mdbook-toc = pkgs.rustPlatform.buildRustPackage rec {
pname = "mdbook-toc"; pname = "mdbook-toc";
version = "0.10.0"; version = "0.11.0";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "badboy"; owner = "badboy";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-/MPxuzqgWKyLP1fn/WoA2cKlV0TiVidt+YpNqY96sxE="; sha256 = "sha256-ORJV2+Uh8GwXU+EWUQ2ls+AcplYbpYhl6hvCuFdKpTk=";
}; };
cargoSha256 = "sha256-JFqkeea6o5Wzpe+2Fp+UYjBOh/e3vX1pZzCfxxfAYmU="; cargoSha256 = "sha256-s+xlrHaynHTMmm7rfjYrWNlIJRHO0QTjMlcV+LjqHNs=";
}; };
}; };
}); });