Couchbase Lite (Enterprise Edition) icon

Couchbase Lite (Enterprise Edition) 4.1.0

Couchbase Lite Libraries for C and C++ (Enterprise Edition)

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    libcblite # Couchbase Lite (Enterprise Edition)
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    libcblite # Couchbase Lite (Enterprise Edition)
  ];
}

Package Definition

{
  "pname": "libcblite",
  "version": "4.1.0",
  "src": {
    "url": "https://packages.couchbase.com/releases/couchbase-lite-c/4.1.0/couchbase-lite-c-enterprise-4.1.0-macos.zip",
    "sha256": "fd229acbf4c342570fa356d11460184aa00c5f14809e1cd957abdab2e9020101"
  },
  "installPhase": [
    "mkdir -p \"$out/include\" && cp -r \"libcblite-4.1.0/include/cbl\" \"$out/include/cbl\"",
    "mkdir -p \"$out/include\" && cp -r \"libcblite-4.1.0/include/cbl++\" \"$out/include/cbl++\"",
    "mkdir -p \"$out/include\" && cp -r \"libcblite-4.1.0/include/fleece\" \"$out/include/fleece\"",
    "mkdir -p \"$out/lib/cmake\" && cp -r \"libcblite-4.1.0/lib/cmake/CouchbaseLite\" \"$out/lib/cmake/CouchbaseLite\"",
    "mkdir -p \"$out/lib\" && cp -r \"libcblite-4.1.0/lib/libcblite.4.1.0.dylib\" \"$out/lib/libcblite.4.1.0.dylib\""
  ],
  "meta": {
    "description": "Couchbase Lite Libraries for C and C++ (Enterprise Edition)",
    "homepage": "https://docs.couchbase.com/couchbase-lite/current/"
  }
}