forked from mirrors/nixpkgs
Merge pull request #139893 from figsoda/roogle
This commit is contained in:
commit
34877e5343
27
pkgs/development/tools/rust/roogle/default.nix
Normal file
27
pkgs/development/tools/rust/roogle/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue