nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 56 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 emoji, 5 fetchFromGitHub, 6 networkx, 7 numpy, 8 peft, 9 protobuf, 10 requests, 11 six, 12 toml, 13 torch, 14 tqdm, 15 transformers, 16}: 17 18buildPythonPackage rec { 19 pname = "stanza"; 20 version = "1.11.0"; 21 format = "setuptools"; 22 23 src = fetchFromGitHub { 24 owner = "stanfordnlp"; 25 repo = "stanza"; 26 tag = "v${version}"; 27 hash = "sha256-zY2+8QuPJTX/HSkE/gKMCWpSanKpYSGZeeYgb4eFuuw="; 28 }; 29 30 propagatedBuildInputs = [ 31 emoji 32 networkx 33 numpy 34 peft 35 protobuf 36 requests 37 six 38 toml 39 torch 40 tqdm 41 transformers 42 ]; 43 44 # Tests require network access 45 doCheck = false; 46 47 pythonImportsCheck = [ "stanza" ]; 48 49 meta = { 50 description = "Official Stanford NLP Python Library for Many Human Languages"; 51 homepage = "https://github.com/stanfordnlp/stanza/"; 52 changelog = "https://github.com/stanfordnlp/stanza/releases/tag/v${version}"; 53 license = lib.licenses.asl20; 54 maintainers = with lib.maintainers; [ riotbib ]; 55 }; 56}