depot/third_party/nixpkgs/pkgs/by-name/in/intelli-shell/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

54 lines
1,018 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
openssl,
sqlite,
zlib,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "intelli-shell";
version = "0.2.7";
src = fetchFromGitHub {
owner = "lasantosr";
repo = "intelli-shell";
rev = "v${version}";
hash = "sha256-D7hB1vKi54L7hU3TqTvzxXIr6XohfYLUTidR6wFJmfo=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-vzmUmznY5uqPhaTzfT0KR+k2nvPmB0Jm9/N4lgzEe2E=";
nativeBuildInputs = [
pkg-config
];
buildInputs =
[
libgit2
openssl
sqlite
zlib
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = with lib; {
description = "Like IntelliSense, but for shells";
homepage = "https://github.com/lasantosr/intelli-shell";
license = licenses.asl20;
maintainers = with maintainers; [ iogamaster ];
mainProgram = "intelli-shell";
};
}