34 lines
740 B
Nix
34 lines
740 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
openssl,
|
|
sqlite,
|
|
...
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "zeroclaw";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zeroclaw-labs";
|
|
repo = "zeroclaw";
|
|
rev = "v${version}";
|
|
hash = "sha256-p8YJOzYL8aMeu7AaZEz3PWUJwh7epufKAHjJKetaGOU=";
|
|
};
|
|
|
|
cargoHash = "sha256-J7yAXEDFYL3banQNe/b8PzRpdRu67jU2W37nSf9Y7RY=";
|
|
|
|
doCheck = false;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ openssl sqlite ];
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight autonomous AI assistant infrastructure built in Rust";
|
|
homepage = "https://github.com/zeroclaw-labs/zeroclaw";
|
|
license = licenses.mit;
|
|
mainProgram = "zeroclaw";
|
|
};
|
|
}
|