Unverified Commit e1d36dfc authored by Janik's avatar Janik Committed by GitHub
Browse files

Merge pull request #242842 from jboynyc/spacy-lookups-data

parents cd71c603 4528a489
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, spacy
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "spacy-lookups-data";
  version = "1.0.3";
  format = "setuptools";

  src = fetchPypi {
    pname = "spacy_lookups_data";
    inherit version;
    hash = "sha256-q2hlVI+4ZtR5CQ4xEIp+Je0ZKhH8sJiW5xFjKM3FK+E=";
  };

  nativeCheckInputs = [
    spacy
    pytestCheckHook
  ];

  pythonImportsCheck = [ "spacy_lookups_data" ];

  meta = with lib; {
    description = "Additional lookup tables and data resources for spaCy";
    homepage = "https://pypi.org/project/spacy-lookups-data";
    license = licenses.mit;
    maintainers = with maintainers; [ jboy ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -11709,6 +11709,8 @@ self: super: with self; {

  spacy-loggers = callPackage ../development/python-modules/spacy-loggers { };

  spacy-lookups-data = callPackage ../development/python-modules/spacy/lookups-data.nix { };

  spacy_models = callPackage ../development/python-modules/spacy/models.nix {
      inherit (pkgs) jq;
  };