blob: cbff62958ad13fc8ce3d1662bdbebe3a9d4475c8 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
nest-asyncio,
pydantic,
python-dotenv,
requests,
websockets,
}:
buildPythonPackage rec {
pname = "firecrawl-py";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mendableai";
repo = "firecrawl";
tag = "v${version}";
hash = "sha256-xr2curv7Inzav0wGOEfWwKn1XhBg8EIotJbwhXc+aBQ=";
};
sourceRoot = "${src.name}/apps/python-sdk";
build-system = [ setuptools ];
dependencies = [
nest-asyncio
pydantic
python-dotenv
requests
websockets
];
# No tests
doCheck = false;
pythonImportsCheck = [ "firecrawl" ];
meta = {
description = "Turn entire websites into LLM-ready markdown or structured data. Scrape, crawl and extract with a single API";
homepage = "https://firecrawl.dev";
changelog = "https://github.com/mendableai/firecrawl/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
}
|