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