Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 699 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "roogle"; 9 version = "1.0.2"; 10 11 src = fetchFromGitHub { 12 owner = "hkmatsumoto"; 13 repo = "roogle"; 14 rev = version; 15 sha256 = "sha256-oeQwRcDn4X/CL+O4APmGv9T19c9oD5tCBRz4K41K1Zg="; 16 }; 17 18 cargoHash = "sha256-lmRo6Q67hJ3hv0jQt6epiNOckRv0rA0a0DNEKIdDoUE="; 19 20 meta = with lib; { 21 description = "Rust API search engine which allows you to search functions by names and type signatures"; 22 mainProgram = "roogle"; 23 homepage = "https://github.com/hkmatsumoto/roogle"; 24 license = with licenses; [ 25 mit # or 26 asl20 27 ]; 28 maintainers = with maintainers; [ figsoda ]; 29 }; 30}