system/packages/micro-agent/default.nix

21 lines
484 B
Nix
Raw Permalink Normal View History

2024-08-16 01:37:26 +03:00
{ buildNpmPackage, fetchFromGitHub }:
# https://github.com/BuilderIO/micro-agent
buildNpmPackage rec {
pname = "micro-agent";
version = "0.0.41";
src = fetchFromGitHub {
owner = "BuilderIO";
repo = "micro-agent";
rev = "v${version}";
hash = "sha256-NxnK8MgKPTZVIADd03fJ6egUWq5vgVxkOvqaD/T/12w=";
};
npmDepsHash = "sha256-exIqyldG5dcUt1xoVLQw/FLOOqfIpG44i3fdzG4cyvM=";
NODE_OPTIONS = "--openssl-legacy-provider";
npmFlags = [ "--ignore-scripts" ];
}