Files
nixpkgs/pkgs/development/python-modules/firecrawl-py/default.nix
2025-04-09 02:51:25 +00:00

50 lines
1016 B
Nix

{
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 ];
};
}