Commit 40970e91 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.firecrawl-py: migrate to finalAttrs

parent 2041b2f5
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  websockets,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "firecrawl-py";
  version = "2.8.0";
  pyproject = true;
@@ -20,11 +20,11 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "mendableai";
    repo = "firecrawl";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-7dB3jdp5jkRiNx63C5sjs3t85fuz5vzurfvYY5jWQyU=";
  };

  sourceRoot = "${src.name}/apps/python-sdk";
  sourceRoot = "${finalAttrs.src.name}/apps/python-sdk";

  build-system = [ setuptools ];

@@ -46,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 = [ ];
  };
}
})