2022-04-21 23:09:15 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
2023-02-26 05:20:52 +00:00
|
|
|
, fetchCrate
|
2022-04-21 23:09:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "book-summary";
|
|
|
|
version = "0.2.1";
|
|
|
|
|
2023-02-26 05:20:52 +00:00
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-dxM6bqgHp4IaG03NriHvoT3al2u5Sz/I5ajlgzpjG1c=";
|
2022-04-21 23:09:15 +00:00
|
|
|
};
|
|
|
|
|
2023-02-26 05:20:52 +00:00
|
|
|
cargoHash = "sha256-QwydecdQaxvh6vWZvO30zgvvgUT6T5dvGRSmcuTUJmc=";
|
2022-04-21 23:09:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Book auto-summary for gitbook and mdBook";
|
|
|
|
homepage = "https://github.com/dvogt23/book-summary";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with teams; iog.members;
|
|
|
|
};
|
|
|
|
}
|