Commit f5ff2dc9 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.spacy: migrate to finalAttrs

parent 27cafa39
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@
  callPackage,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "spacy";
  version = "3.8.11";
  pyproject = true;
@@ -53,7 +53,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "explosion";
    repo = "spaCy";
    tag = "release-v${version}";
    tag = "release-v${finalAttrs.version}";
    hash = "sha256-pLn3fq6SDstkRIv+1fj1yEGTlAd1IAiVgRu25CnEV8E=";
  };

@@ -152,9 +152,9 @@ buildPythonPackage rec {
  meta = {
    description = "Industrial-strength Natural Language Processing (NLP)";
    homepage = "https://github.com/explosion/spaCy";
    changelog = "https://github.com/explosion/spaCy/releases/tag/${src.tag}";
    changelog = "https://github.com/explosion/spaCy/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sarahec ];
    mainProgram = "spacy";
  };
}
})