{ lib, buildPythonPackage, emoji, fetchFromGitHub, networkx, numpy, peft, protobuf, requests, six, toml, torch, tqdm, transformers, }: buildPythonPackage rec { pname = "stanza"; version = "1.11.0"; format = "setuptools"; src = fetchFromGitHub { owner = "stanfordnlp"; repo = "stanza"; tag = "v${version}"; hash = "sha256-zY2+8QuPJTX/HSkE/gKMCWpSanKpYSGZeeYgb4eFuuw="; }; propagatedBuildInputs = [ emoji networkx numpy peft protobuf requests six toml torch tqdm transformers ]; # Tests require network access doCheck = false; pythonImportsCheck = [ "stanza" ]; meta = { description = "Official Stanford NLP Python Library for Many Human Languages"; homepage = "https://github.com/stanfordnlp/stanza/"; changelog = "https://github.com/stanfordnlp/stanza/releases/tag/v${version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ riotbib ]; }; }