add micro-agent
This commit is contained in:
parent
15596fc12d
commit
4dca932223
2 changed files with 23 additions and 1 deletions
20
packages/micro-agent/default.nix
Normal file
20
packages/micro-agent/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ 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" ];
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, inputs, globalData, ... }:
|
||||
{ config, pkgs, lib, inputs, globalData, packagesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [./davmail.secret.nix];
|
||||
|
@ -161,6 +161,8 @@
|
|||
jq
|
||||
|
||||
nodePackages.vscode-langservers-extracted # html, css, json, eslint
|
||||
|
||||
(pkgs.callPackage (packagesPath + /micro-agent) {})
|
||||
];
|
||||
|
||||
home.file = {
|
||||
|
|
Loading…
Reference in a new issue