blob: c968ffc4f5e3b9253d957b3b22348fe08deba506 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
openssl,
sqlite,
zlib,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "intelli-shell";
version = "3.4.5";
src = fetchFromGitHub {
owner = "lasantosr";
repo = "intelli-shell";
rev = "v${finalAttrs.version}";
hash = "sha256-jC5hvyefEEU8odiPaUWtWm8o2oHyS7ZOw4nJdvylb0U=";
};
cargoHash = "sha256-g/sJJiwUl+N4ryFXhrbSIaOl0zzXKbehGyxTNamtua8=";
nativeBuildInputs = [
pkg-config
];
buildNoDefaultFeatures = true;
buildFeatures = [
"extra-features"
];
buildInputs = [
libgit2
openssl
sqlite
zlib
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = {
description = "Like IntelliSense, but for shells";
homepage = "https://github.com/lasantosr/intelli-shell";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ lasantosr ];
mainProgram = "intelli-shell";
};
})
|