Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, rustPlatform 3, fetchCrate 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "book-summary"; 8 version = "0.2.1"; 9 10 src = fetchCrate { 11 inherit pname version; 12 hash = "sha256-dxM6bqgHp4IaG03NriHvoT3al2u5Sz/I5ajlgzpjG1c="; 13 }; 14 15 cargoHash = "sha256-QwydecdQaxvh6vWZvO30zgvvgUT6T5dvGRSmcuTUJmc="; 16 17 meta = with lib; { 18 description = "Book auto-summary for gitbook and mdBook"; 19 homepage = "https://github.com/dvogt23/book-summary"; 20 license = licenses.mit; 21 maintainers = with teams; iog.members; 22 }; 23}