1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 pkg-config,
6 libgit2,
7 openssl,
8 sqlite,
9 zlib,
10}:
11
12rustPlatform.buildRustPackage rec {
13 pname = "intelli-shell";
14 version = "0.2.7";
15
16 src = fetchFromGitHub {
17 owner = "lasantosr";
18 repo = "intelli-shell";
19 rev = "v${version}";
20 hash = "sha256-D7hB1vKi54L7hU3TqTvzxXIr6XohfYLUTidR6wFJmfo=";
21 };
22
23 cargoHash = "sha256-vzmUmznY5uqPhaTzfT0KR+k2nvPmB0Jm9/N4lgzEe2E=";
24
25 nativeBuildInputs = [
26 pkg-config
27 ];
28
29 buildInputs = [
30 libgit2
31 openssl
32 sqlite
33 zlib
34 ];
35
36 env = {
37 OPENSSL_NO_VENDOR = true;
38 };
39
40 meta = with lib; {
41 description = "Like IntelliSense, but for shells";
42 homepage = "https://github.com/lasantosr/intelli-shell";
43 license = licenses.asl20;
44 maintainers = with maintainers; [ iogamaster ];
45 mainProgram = "intelli-shell";
46 };
47}