29 buildPythonPackage rec {
35 src = fetchFromGitHub {
38 rev = "refs/tags/v${version}";
39 hash = "sha256-/rdv96lnSGN+aJJmPSIan79zoXxnStokFEAjBtCLKy4=";
43 substituteInPlace pyproject.toml \
44 --replace-fail "poetry>=1.1.13" poetry-core \
45 --replace-fail "poetry.masonry.api" "poetry.core.masonry.api" \
46 --replace-fail 'scipy = "<1.13.0"' 'scipy = "^1"' \
47 --replace-fail 'boltons = "^21.0.0"' 'boltons = "^24.0.0"'
50 build-system = [ poetry-core ];
79 export HOME=$(mktemp -d)
82 # Most of tests fail as they require local files to be present and also internet access
86 description = "Natural language processing (NLP) framework for pre-modern languages";
87 homepage = "https://cltk.org";
88 changelog = "https://github.com/cltk/cltk/releases/tag/v${version}";
89 license = lib.licenses.mit;
90 maintainers = with lib.maintainers; [ kmein ];