roogle: init at 0.1.4
This commit is contained in:
parent
7affc06dae
commit
d243845a84
2 changed files with 28 additions and 0 deletions
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -12540,6 +12540,7 @@ with pkgs;
|
||||||
|
|
||||||
rhack = callPackage ../development/tools/rust/rhack { };
|
rhack = callPackage ../development/tools/rust/rhack { };
|
||||||
inherit (rustPackages) rls;
|
inherit (rustPackages) rls;
|
||||||
|
roogle = callPackage ../development/tools/rust/roogle { };
|
||||||
rustfmt = rustPackages.rustfmt;
|
rustfmt = rustPackages.rustfmt;
|
||||||
rustracer = callPackage ../development/tools/rust/racer {
|
rustracer = callPackage ../development/tools/rust/racer {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
|
Loading…
Reference in a new issue