Loading pkgs/development/python-modules/spacy/default.nix +10 −19 Original line number Diff line number Diff line Loading @@ -10,13 +10,11 @@ fetchPypi, hypothesis, jinja2, jsonschema, langcodes, mock, murmurhash, numpy, packaging, pathy, preshed, pydantic, pytestCheckHook, Loading @@ -29,7 +27,6 @@ thinc, tqdm, typer, typing-extensions, wasabi, weasel, writeScript, Loading @@ -40,14 +37,14 @@ buildPythonPackage rec { pname = "spacy"; version = "3.7.5"; version = "3.7.6"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-pkjGy/Ksx6Vaae6ef6TyK99pqoKKWHobxc//CM88LdM="; hash = "sha256-9AZcCqxcSLv7L/4ZHVXMszv7AFN2r71MzW1ek0FRTjQ="; }; postPatch = '' Loading @@ -57,26 +54,22 @@ buildPythonPackage rec { --replace-fail "thinc>=8.2.2,<8.3.0" "thinc>=8.2.2,<8.4.0" ''; pythonRelaxDeps = [ "smart-open" "typer" ]; nativeBuildInputs = [ build-system = [ cymem cython_0 murmurhash numpy thinc ]; propagatedBuildInputs = [ blis dependencies = [ catalogue cymem jinja2 jsonschema langcodes murmurhash numpy packaging pathy preshed pydantic requests Loading @@ -89,7 +82,7 @@ buildPythonPackage rec { typer wasabi weasel ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; ]; nativeCheckInputs = [ pytestCheckHook Loading @@ -97,8 +90,6 @@ buildPythonPackage rec { mock ]; doCheck = true; # Fixes ModuleNotFoundError when running tests on Cythonized code. See #255262 preCheck = '' cd $out Loading Loading @@ -139,7 +130,7 @@ buildPythonPackage rec { description = "Industrial-strength Natural Language Processing (NLP)"; mainProgram = "spacy"; homepage = "https://github.com/explosion/spaCy"; changelog = "https://github.com/explosion/spaCy/releases/tag/v${version}"; changelog = "https://github.com/explosion/spaCy/releases/tag/release-v${version}"; license = licenses.mit; maintainers = [ ]; }; Loading Loading
pkgs/development/python-modules/spacy/default.nix +10 −19 Original line number Diff line number Diff line Loading @@ -10,13 +10,11 @@ fetchPypi, hypothesis, jinja2, jsonschema, langcodes, mock, murmurhash, numpy, packaging, pathy, preshed, pydantic, pytestCheckHook, Loading @@ -29,7 +27,6 @@ thinc, tqdm, typer, typing-extensions, wasabi, weasel, writeScript, Loading @@ -40,14 +37,14 @@ buildPythonPackage rec { pname = "spacy"; version = "3.7.5"; version = "3.7.6"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-pkjGy/Ksx6Vaae6ef6TyK99pqoKKWHobxc//CM88LdM="; hash = "sha256-9AZcCqxcSLv7L/4ZHVXMszv7AFN2r71MzW1ek0FRTjQ="; }; postPatch = '' Loading @@ -57,26 +54,22 @@ buildPythonPackage rec { --replace-fail "thinc>=8.2.2,<8.3.0" "thinc>=8.2.2,<8.4.0" ''; pythonRelaxDeps = [ "smart-open" "typer" ]; nativeBuildInputs = [ build-system = [ cymem cython_0 murmurhash numpy thinc ]; propagatedBuildInputs = [ blis dependencies = [ catalogue cymem jinja2 jsonschema langcodes murmurhash numpy packaging pathy preshed pydantic requests Loading @@ -89,7 +82,7 @@ buildPythonPackage rec { typer wasabi weasel ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ]; ]; nativeCheckInputs = [ pytestCheckHook Loading @@ -97,8 +90,6 @@ buildPythonPackage rec { mock ]; doCheck = true; # Fixes ModuleNotFoundError when running tests on Cythonized code. See #255262 preCheck = '' cd $out Loading Loading @@ -139,7 +130,7 @@ buildPythonPackage rec { description = "Industrial-strength Natural Language Processing (NLP)"; mainProgram = "spacy"; homepage = "https://github.com/explosion/spaCy"; changelog = "https://github.com/explosion/spaCy/releases/tag/v${version}"; changelog = "https://github.com/explosion/spaCy/releases/tag/release-v${version}"; license = licenses.mit; maintainers = [ ]; }; Loading