Skip to content

Commit 83c45b9

Browse files
authored
python312Packages.cltk: 1.3.0 -> 1.5.0 (#404302)
2 parents 23866ef + ba2df56 commit 83c45b9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pkgs/development/python-modules/cltk/default.nix

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,23 @@
1919
scipy,
2020
spacy,
2121
stanza,
22-
stringcase,
2322
torch,
2423
tqdm,
2524

2625
# tests
2726
pytestCheckHook,
27+
writableTmpDirAsHomeHook,
2828
}:
2929
buildPythonPackage rec {
3030
pname = "cltk";
31-
version = "1.3.0";
32-
31+
version = "1.5.0";
3332
pyproject = true;
3433

3534
src = fetchFromGitHub {
3635
owner = "cltk";
3736
repo = "cltk";
38-
rev = "refs/tags/v${version}";
39-
hash = "sha256-/rdv96lnSGN+aJJmPSIan79zoXxnStokFEAjBtCLKy4=";
37+
tag = "v${version}";
38+
hash = "sha256-aeWbfDVNn6DwW+KFh62n5RBgWp5uSWDv2RHmB27/xI4=";
4039
};
4140

4241
postPatch = ''
@@ -66,19 +65,15 @@ buildPythonPackage rec {
6665
scipy
6766
spacy
6867
stanza
69-
stringcase
7068
torch
7169
tqdm
7270
];
7371

7472
nativeCheckInputs = [
7573
pytestCheckHook
74+
writableTmpDirAsHomeHook
7675
];
7776

78-
preCheck = ''
79-
export HOME=$(mktemp -d)
80-
'';
81-
8277
# Most of tests fail as they require local files to be present and also internet access
8378
doCheck = false;
8479

0 commit comments

Comments
 (0)