refactor: reorganize, add package (opencode, osgrep, beads), add ai agent shell
This commit is contained in:
parent
7e0a207778
commit
a0f0f39399
58 changed files with 7867 additions and 42 deletions
32
packages/osgrep.nix
Normal file
32
packages/osgrep.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ 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