celestial/default.nix

21 lines
547 B
Nix
Raw Normal View History

2024-05-03 20:31:39 +02:00
{ 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;
};
}