fix nix functional test & add mole to brew, del osgrep bd
This commit is contained in:
parent
63d0716aaa
commit
d8ad4e916d
11 changed files with 13 additions and 7398 deletions
|
|
@ -4,8 +4,5 @@ let
|
|||
system = pkgs.stdenv.hostPlatform.system;
|
||||
llmPkgs = llm-agents.packages.${system};
|
||||
in {
|
||||
osgrep = pkgs.callPackage ./osgrep.nix { };
|
||||
opencode = llmPkgs.opencode;
|
||||
# Source beads from llm-agents.nix
|
||||
beads = llmPkgs.beads;
|
||||
}
|
||||
|
|
|
|||
7292
packages/osgrep-package-lock.json
generated
7292
packages/osgrep-package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,32 +0,0 @@
|
|||
{ lib, buildNpmPackage, fetchurl, python3 }:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "osgrep";
|
||||
version = "0.5.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/${pname}/-/${pname}-${version}.tgz";
|
||||
hash = "sha256-V23PNxtMCdRaqr4uDOs0rptmSROUrUO7I9HazoGqUCQ=";
|
||||
};
|
||||
|
||||
sourceRoot = "package";
|
||||
|
||||
postPatch = ''
|
||||
cp ${./osgrep-package-lock.json} package-lock.json
|
||||
'';
|
||||
|
||||
npmDepsHash = "sha256-JDeZ3kcsbcZM//0846i1gsvoAgMpIpN8c160cp7wB5s=";
|
||||
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
|
||||
dontNpmBuild = true; # Already built in npm package
|
||||
|
||||
nativeBuildInputs = [ python3 ];
|
||||
|
||||
meta = {
|
||||
description = "Semantic grep for AI agents";
|
||||
homepage = "https://github.com/Ryandonofrio3/osgrep";
|
||||
license = lib.licenses.asl20;
|
||||
mainProgram = "osgrep";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue