Felipe97/llama-cpp-compiled
01.1k
1{2 lib,3 llamaVersion,4 numpy,5 tqdm,6 requests,7 sentencepiece,8 pyyaml,9 poetry-core,10 buildPythonPackage,11 pytestCheckHook,12}:13 14buildPythonPackage {15 pname = "gguf";16 version = llamaVersion;17 pyproject = true;18 nativeBuildInputs = [ poetry-core ];19 propagatedBuildInputs = [20 numpy21 tqdm22 sentencepiece23 pyyaml24 requests25 ];26 src = lib.cleanSource ../../gguf-py;27 pythonImportsCheck = [28 "numpy"29 "gguf"30 ];31 nativeCheckInputs = [ pytestCheckHook ];32 doCheck = true;33 meta = with lib; {34 description = "Python package for writing binary files in the GGUF format";35 license = licenses.mit;36 maintainers = [ maintainers.ditsuke ];37 };38}39 