diff --git a/pkgs/development/python-modules/firecrawl-py/default.nix b/pkgs/development/python-modules/firecrawl-py/default.nix index 3055d73165b5..efc8e3752b31 100644 --- a/pkgs/development/python-modules/firecrawl-py/default.nix +++ b/pkgs/development/python-modules/firecrawl-py/default.nix @@ -3,6 +3,7 @@ aiohttp, buildPythonPackage, fetchFromGitHub, + httpx, nest-asyncio, pydantic, python-dotenv, @@ -11,24 +12,25 @@ websockets, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "firecrawl-py"; - version = "2.7.0"; + version = "2.8.0"; pyproject = true; src = fetchFromGitHub { owner = "mendableai"; repo = "firecrawl"; - tag = "v${version}"; - hash = "sha256-l42FfMrkqeFuAB4Sibxe4J+lifePSu2naIySEUGPQW0="; + tag = "v${finalAttrs.version}"; + hash = "sha256-7dB3jdp5jkRiNx63C5sjs3t85fuz5vzurfvYY5jWQyU="; }; - sourceRoot = "${src.name}/apps/python-sdk"; + sourceRoot = "${finalAttrs.src.name}/apps/python-sdk"; build-system = [ setuptools ]; dependencies = [ aiohttp + httpx nest-asyncio pydantic python-dotenv @@ -44,8 +46,8 @@ buildPythonPackage rec { 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}"; + changelog = "https://github.com/mendableai/firecrawl/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ ]; }; -} +})