21 lines
547 B
Nix
21 lines
547 B
Nix
{ lib, rustPlatform, fetchFromGitea, pkgs, stdenv, ... }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "celestial";
|
|
version = "1.1.1";
|
|
|
|
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkgs.pkg-config ];
|
|
OPENSSL_NO_VENDOR = 1;
|
|
buildInputs = lib.optionals stdenv.isLinux [ pkgs.openssl ];
|
|
|
|
src = "./.";
|
|
# TODO
|
|
#cargoHash = "sha256-dpN7hHpqSur6KjtEikVjQMqnF8PW27ax7ccpQNU5vdA=";
|
|
|
|
meta = with lib; {
|
|
description = "Celestial ai bot";
|
|
homepage = "https://git.4o1x5.dev/4o1x5/celestial";
|
|
license = licenses.mit;
|
|
};
|
|
}
|