blob: 4942913dce3e5e166c86a9a64bbf5b2ea5409479 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "mdbook-pagetoc";
version = "0.2.0";
src = fetchFromGitHub {
owner = "slowsage";
repo = pname;
rev = "v${version}";
hash = "sha256-A8J3cKSA//NGIVK3uE43YH3ph9DHGFlg7uOo10j2Kh8=";
};
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 matthiasbeyer ];
};
}
|