mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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;
|
||||
BASE_URL = "http://localhost:${toString cfg.port}";
|
||||
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);
|
||||
|
||||
serviceConfig = {
|
||||
|
|
|
@ -109,7 +109,7 @@ pythonpkgs.buildPythonApplication rec {
|
|||
|
||||
# Needed for tests
|
||||
preCheck = ''
|
||||
export NLTK_DATA=${nltk-data.averaged_perceptron_tagger_eng}
|
||||
export NLTK_DATA=${nltk-data.averaged-perceptron-tagger-eng}
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
|
|
|
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
|||
|
||||
# Needed for tests
|
||||
preCheck = ''
|
||||
export NLTK_DATA=${nltk-data.averaged_perceptron_tagger_eng}
|
||||
export NLTK_DATA=${nltk-data.averaged-perceptron-tagger-eng}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -71,7 +71,7 @@ lib.makeScope newScope (self: {
|
|||
location = "taggers";
|
||||
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
||||
};
|
||||
averaged_perceptron_tagger_eng = makeNltkDataPackage {
|
||||
averaged-perceptron-tagger-eng = makeNltkDataPackage {
|
||||
pname = "averaged_perceptron_tagger_eng";
|
||||
location = "taggers";
|
||||
hash = "sha256-tl3Cn2okhBkUtTXvAmFRx72Brez6iTGRdmFTwFmpk3M=";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue