Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
1023 B
Nix
53 lines
1023 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
openssl,
|
|
testers,
|
|
nix-update-script,
|
|
couchbase-shell,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "couchbase-shell";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "couchbaselabs";
|
|
repo = "couchbase-shell";
|
|
rev = "v${version}";
|
|
hash = "sha256-wqOU94rPqIO128uL9iyVzWcAgqnDUPUy1+Qq1hSkvHA=";
|
|
};
|
|
|
|
cargoHash = "sha256-tlVOro9u4ypgJ5yqjEzjfvrGXVCYe6DN6bg/3NhipR4=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
# tests need couchbase server
|
|
doCheck = false;
|
|
|
|
passthru = {
|
|
tests.version = testers.testVersion {
|
|
package = couchbase-shell;
|
|
};
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Shell for Couchbase Server and Cloud";
|
|
homepage = "https://couchbase.sh/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ petrkozorezov ];
|
|
mainProgram = "cbsh";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|