Replace Pi Firecrawl extension with web access
This commit is contained in:
parent
71442b023e
commit
77938951af
2 changed files with 9 additions and 41 deletions
|
|
@ -1,39 +0,0 @@
|
|||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "pi-firecrawl";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firecrawl";
|
||||
repo = "pi-firecrawl";
|
||||
rev = "2d7e8966ad63744fa7d5932f7bd5b4a78eddb894";
|
||||
hash = "sha256-1jbWRlQh72qoGUf2Bl220ZGKVzH/AsDgrS9weGgxb2I=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-+ox5eIPBF9eY0yPw5IL4LypRSxZ1sz8JCFaDjmZ2DuU=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
npmPackFlags = [ "--ignore-scripts" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
packageDir="$out/lib/pi-packages/@firecrawl/pi-firecrawl"
|
||||
mkdir -p "$packageDir"
|
||||
|
||||
cp -R package.json package-lock.json README.md LICENSE src node_modules "$packageDir"/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Official Firecrawl extension for the Pi coding agent";
|
||||
homepage = "https://github.com/firecrawl/pi-firecrawl";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue