Skip to content

Commit 39b71cd

Browse files
authored
intelli-shell: init at 0.2.7 (#289430)
2 parents 9eee369 + 22c0b32 commit 39b71cd

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{ lib
2+
, rustPlatform
3+
, fetchFromGitHub
4+
, pkg-config
5+
, libgit2
6+
, openssl
7+
, sqlite
8+
, zlib
9+
, stdenv
10+
, darwin
11+
}:
12+
13+
rustPlatform.buildRustPackage rec {
14+
pname = "intelli-shell";
15+
version = "0.2.7";
16+
17+
src = fetchFromGitHub {
18+
owner = "lasantosr";
19+
repo = "intelli-shell";
20+
rev = "v${version}";
21+
hash = "sha256-D7hB1vKi54L7hU3TqTvzxXIr6XohfYLUTidR6wFJmfo=";
22+
};
23+
24+
cargoHash = "sha256-OAQpOxPWg27kIeM37S5SEGFHMwJPvTGREtG9rd6+lDM=";
25+
26+
nativeBuildInputs = [
27+
pkg-config
28+
];
29+
30+
buildInputs = [
31+
libgit2
32+
openssl
33+
sqlite
34+
zlib
35+
] ++ lib.optionals stdenv.isDarwin [
36+
darwin.apple_sdk.frameworks.Security
37+
];
38+
39+
env = {
40+
OPENSSL_NO_VENDOR = true;
41+
};
42+
43+
meta = with lib; {
44+
description = "Like IntelliSense, but for shells";
45+
homepage = "https://github.com/lasantosr/intelli-shell";
46+
license = licenses.asl20;
47+
maintainers = with maintainers; [ iogamaster ];
48+
mainProgram = "intelli-shell";
49+
};
50+
}

0 commit comments

Comments
 (0)