mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
treewide: nltk-data.averaged_perceptron_tagger_eng -> nltk-data.averaged-perceptron-tagger-eng
This commit is contained in:
parent
00bd671646
commit
a4c3b3eff2
4 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ in
|
||||||
API_PORT = toString cfg.port;
|
API_PORT = toString cfg.port;
|
||||||
BASE_URL = "http://localhost:${toString cfg.port}";
|
BASE_URL = "http://localhost:${toString cfg.port}";
|
||||||
DATA_DIR = "/var/lib/mealie";
|
DATA_DIR = "/var/lib/mealie";
|
||||||
NLTK_DATA = pkgs.nltk-data.averaged_perceptron_tagger_eng;
|
NLTK_DATA = pkgs.nltk-data.averaged-perceptron-tagger-eng;
|
||||||
} // (builtins.mapAttrs (_: val: toString val) cfg.settings);
|
} // (builtins.mapAttrs (_: val: toString val) cfg.settings);
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
|
@ -109,7 +109,7 @@ pythonpkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
# Needed for tests
|
# Needed for tests
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export NLTK_DATA=${nltk-data.averaged_perceptron_tagger_eng}
|
export NLTK_DATA=${nltk-data.averaged-perceptron-tagger-eng}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
|
|
|
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# Needed for tests
|
# Needed for tests
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export NLTK_DATA=${nltk-data.averaged_perceptron_tagger_eng}
|
export NLTK_DATA=${nltk-data.averaged-perceptron-tagger-eng}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -71,7 +71,7 @@ lib.makeScope newScope (self: {
|
||||||
location = "taggers";
|
location = "taggers";
|
||||||
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
||||||
};
|
};
|
||||||
averaged_perceptron_tagger_eng = makeNltkDataPackage {
|
averaged-perceptron-tagger-eng = makeNltkDataPackage {
|
||||||
pname = "averaged_perceptron_tagger_eng";
|
pname = "averaged_perceptron_tagger_eng";
|
||||||
location = "taggers";
|
location = "taggers";
|
||||||
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue