2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2023-03-04 12:14:45 +00:00
|
|
|
, fetchCrate
|
2022-09-09 14:08:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "book-summary";
|
|
|
|
version = "0.2.1";
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-dxM6bqgHp4IaG03NriHvoT3al2u5Sz/I5ajlgzpjG1c=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
cargoHash = "sha256-QwydecdQaxvh6vWZvO30zgvvgUT6T5dvGRSmcuTUJmc=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Book auto-summary for gitbook and mdBook";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "book-summary";
|
2022-09-09 14:08:57 +00:00
|
|
|
homepage = "https://github.com/dvogt23/book-summary";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with teams; iog.members;
|
|
|
|
};
|
|
|
|
}
|