{ lib, buildPythonPackage, fetchFromGitHub, setuptools, nest-asyncio, pydantic, python-dotenv, requests, websockets, }: buildPythonPackage rec { pname = "firecrawl-py"; version = "1.7.0"; pyproject = true; src = fetchFromGitHub { owner = "mendableai"; repo = "firecrawl"; tag = "v${version}"; hash = "sha256-Tsw5OMjv/t9lt3seG31958R9o+s/6N7MGzHgqgkHrzQ="; }; 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 ]; }; }