python312Packages.cltk: 1.3.0 -> 1.5.0

Diff: https://github.com/cltk/cltk/compare/refs/tags/v1.3.0...refs/tags/v1.5.0

Changelog: https://github.com/cltk/cltk/releases/tag/v1.5.0
This commit is contained in:
Gaetan Lepage 2025-05-05 09:46:10 +02:00
parent d2fcd3c674
commit ba2df560ff

View File

@ -19,24 +19,23 @@
scipy, scipy,
spacy, spacy,
stanza, stanza,
stringcase,
torch, torch,
tqdm, tqdm,
# tests # tests
pytestCheckHook, pytestCheckHook,
writableTmpDirAsHomeHook,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "cltk"; pname = "cltk";
version = "1.3.0"; version = "1.5.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cltk"; owner = "cltk";
repo = "cltk"; repo = "cltk";
rev = "refs/tags/v${version}"; tag = "v${version}";
hash = "sha256-/rdv96lnSGN+aJJmPSIan79zoXxnStokFEAjBtCLKy4="; hash = "sha256-aeWbfDVNn6DwW+KFh62n5RBgWp5uSWDv2RHmB27/xI4=";
}; };
postPatch = '' postPatch = ''
@ -66,19 +65,15 @@ buildPythonPackage rec {
scipy scipy
spacy spacy
stanza stanza
stringcase
torch torch
tqdm tqdm
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
writableTmpDirAsHomeHook
]; ];
preCheck = ''
export HOME=$(mktemp -d)
'';
# Most of tests fail as they require local files to be present and also internet access # Most of tests fail as they require local files to be present and also internet access
doCheck = false; doCheck = false;