File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed
pkgs/by-name/co/couchbase-shell Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1661916619 githubId = 28323;
1662016620 name = "Peter Simons";
1662116621 };
16622+ petrkozorezov = {
16623+ 16624+ github = "petrkozorezov";
16625+ githubId = 645017;
16626+ name = "Petr Kozorezov";
16627+ keys = [ { fingerprint = "7F1A 353D 3D6D 9CEF 63A9 B5C6 699F 32D5 9999 7C90"; } ];
16628+ };
1662216629 petrosagg = {
16623166301662416631 github = "petrosagg";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ rustPlatform ,
5+ fetchFromGitHub ,
6+ pkg-config ,
7+ openssl ,
8+ testers ,
9+ nix-update-script ,
10+ couchbase-shell ,
11+ } :
12+
13+ rustPlatform . buildRustPackage rec {
14+ pname = "couchbase-shell" ;
15+ version = "1.0.0" ;
16+
17+ src = fetchFromGitHub {
18+ owner = "couchbaselabs" ;
19+ repo = "couchbase-shell" ;
20+ rev = "v${ version } " ;
21+ hash = "sha256-ksAyi7yMz56de1lA2LYVNdsn02GNrcJVoRLcK1zFppE=" ;
22+ } ;
23+
24+ cargoHash = "sha256-efy1M4Q9dBfEq0YYUKn4y1Rz/dPbBYLapcPXJLI9X+Q=" ;
25+
26+ nativeBuildInputs = [
27+ pkg-config
28+ ] ;
29+
30+ buildInputs = [
31+ openssl
32+ ] ;
33+
34+ # tests need couchbase server
35+ doCheck = false ;
36+
37+ passthru = {
38+ tests . version = testers . testVersion {
39+ package = couchbase-shell ;
40+ } ;
41+ updateScript = nix-update-script { } ;
42+ } ;
43+
44+ meta = {
45+ description = "Shell for Couchbase Server and Cloud" ;
46+ homepage = "https://couchbase.sh/" ;
47+ license = lib . licenses . asl20 ;
48+ maintainers = with lib . maintainers ; [ petrkozorezov ] ;
49+ mainProgram = "cbsh" ;
50+ platforms = lib . platforms . linux ;
51+ } ;
52+ }
You can’t perform that action at this time.
0 commit comments