python311Packages.spacy-models: rename from spacy_models
This commit is contained in:
parent
f9538248e6
commit
8bb35a61f2
6 changed files with 10 additions and 9 deletions
|
@ -16,7 +16,7 @@
|
|||
, pyspark
|
||||
, dill
|
||||
, dask
|
||||
, spacy_models
|
||||
, spacy-models
|
||||
}:
|
||||
let
|
||||
pname = "snorkel";
|
||||
|
@ -56,7 +56,7 @@ buildPythonPackage {
|
|||
pyspark
|
||||
dill
|
||||
dask
|
||||
spacy_models.en_core_web_sm
|
||||
spacy-models.en_core_web_sm
|
||||
] ++ dask.optional-dependencies.distributed;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, pytest, spacy_models }:
|
||||
{ stdenv, pytest, spacy-models }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "spacy-transformers-annotation-test";
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||
dontBuild = true;
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [ pytest spacy_models.en_core_web_trf ];
|
||||
nativeCheckInputs = [ pytest spacy-models.en_core_web_trf ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest annotate.py
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, pytest, spacy_models }:
|
||||
{ stdenv, pytest, spacy-models }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "spacy-annotation-test";
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||
dontBuild = true;
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [ pytest spacy_models.en_core_web_sm ];
|
||||
nativeCheckInputs = [ pytest spacy-models.en_core_web_sm ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest annotate.py
|
||||
|
|
|
@ -123,7 +123,7 @@ buildPythonPackage rec {
|
|||
nix-update python3Packages.spacy
|
||||
|
||||
# update spacy models as well
|
||||
echo | nix-shell maintainers/scripts/update.nix --argstr package python3Packages.spacy_models.en_core_web_sm
|
||||
echo | nix-shell maintainers/scripts/update.nix --argstr package python3Packages.spacy-models.en_core_web_sm
|
||||
'';
|
||||
tests.annotation = callPackage ./annotation-test { };
|
||||
};
|
||||
|
|
|
@ -476,6 +476,7 @@ mapAliases ({
|
|||
smpp_pdu = smpp-pdu; # added 2024-03-05
|
||||
somecomfort = throw "somecomfort was removed because Home Assistant switched to aiosomecomfort"; # added 2023-02-01
|
||||
sorl_thumbnail = sorl-thumbnail; # added 2023-11-12
|
||||
spacy_models = spacy-models; # added 2024-04-21
|
||||
SPARQLWrapper = sparqlwrapper;
|
||||
spark_parser = spark-parser; # added 2024-01-07
|
||||
sphinx-jquery = sphinxcontrib-jquery; # added 2023-02-24
|
||||
|
|
|
@ -14086,7 +14086,7 @@ self: super: with self; {
|
|||
|
||||
spacy-lookups-data = callPackage ../development/python-modules/spacy/lookups-data.nix { };
|
||||
|
||||
spacy_models = callPackage ../development/python-modules/spacy/models.nix {
|
||||
spacy-models = callPackage ../development/python-modules/spacy/models.nix {
|
||||
inherit (pkgs) jq;
|
||||
};
|
||||
|
||||
|
@ -14913,7 +14913,7 @@ self: super: with self; {
|
|||
textacy = callPackage ../development/python-modules/textacy { };
|
||||
|
||||
textnets = callPackage ../development/python-modules/textnets {
|
||||
en_core_web_sm = spacy_models.en_core_web_sm;
|
||||
en_core_web_sm = spacy-models.en_core_web_sm;
|
||||
};
|
||||
|
||||
texttable = callPackage ../development/python-modules/texttable { };
|
||||
|
|
Loading…
Reference in a new issue