at master 706 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 numpy, 7 poetry-core, 8 pyyaml, 9 sentencepiece, 10 tqdm, 11}: 12buildPythonPackage rec { 13 pname = "gguf"; 14 version = "0.17.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-Nq1xqtkAo+dfyU6+lupgKfA6TkS+difvetPQPox7y1M="; 22 }; 23 24 dependencies = [ 25 numpy 26 poetry-core 27 pyyaml 28 sentencepiece 29 tqdm 30 ]; 31 32 pythonImportsCheck = [ "gguf" ]; 33 34 meta = with lib; { 35 description = "Module for writing binary files in the GGUF format"; 36 homepage = "https://ggml.ai/"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ mitchmindtree ]; 39 }; 40}