feat: add zeroclaw package
This commit is contained in:
parent
d405190f0d
commit
a8b2b36c64
1 changed files with 34 additions and 0 deletions
34
packages/zeroclaw/default.nix
Normal file
34
packages/zeroclaw/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue