Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 68 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, buildPythonPackage, fetchFromGitHub, nix-update-script,
# build-system poetry-core,
# dependencies numpy, pyside6, pyyaml, requests, tqdm,
# tests pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "gguf"; version = "8799"; pyproject = true;
src = fetchFromGitHub { owner = "ggml-org"; repo = "llama.cpp"; tag = "b${finalAttrs.version}"; hash = "sha256-AQWcj6FtBGKKU8DiAH/ZHH6XU/5hrBKiYvIoULpL+1g="; };
sourceRoot = "${finalAttrs.src.name}/gguf-py";
build-system = [ poetry-core ];
dependencies = [ numpy pyyaml requests tqdm ];
optional-dependencies = { gui = [ pyside6 ]; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gguf" ];
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex" "b(.*)" ]; };
meta = { description = "Module for writing binary files in the GGUF format"; homepage = "https://ggml.ai/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ mitchmindtree sarahec ]; };})