3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #139893 from figsoda/roogle

This commit is contained in:
Sandro 2021-09-29 15:29:48 +02:00 committed by GitHub
commit 34877e5343
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "roogle";
version = "0.1.4";
src = fetchFromGitHub {
owner = "hkmatsumoto";
repo = pname;
rev = version;
sha256 = "1h0agialbvhhiijkdnr47y7babq432limdl6ag2rmjfs7yishn4r";
};
cargoSha256 = "sha256-CzFfFKTmBUAafk8PkkWmUkRIyO+yEhmCfN1zsLRq4Iw=";
postInstall = ''
mkdir -p $out/share/roogle
cp -r assets $out/share/roogle
'';
meta = with lib; {
description = "A Rust API search engine which allows you to search functions by names and type signatures";
homepage = "https://github.com/hkmatsumoto/roogle";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -12552,6 +12552,7 @@ with pkgs;
rhack = callPackage ../development/tools/rust/rhack { };
inherit (rustPackages) rls;
roogle = callPackage ../development/tools/rust/roogle { };
rustfmt = rustPackages.rustfmt;
rustracer = callPackage ../development/tools/rust/racer {
inherit (darwin.apple_sdk.frameworks) Security;