1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 numpy,
6 poetry-core,
7 pythonOlder,
8}:
9buildPythonPackage rec {
10 pname = "gguf";
11 version = "0.6.0";
12 format = "pyproject";
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-suIuq6KhBsGtFIGGoUrZ8pxCk1Fob+nXzhbfOaBgfmU=";
19 };
20
21 dependencies = [
22 numpy
23 poetry-core
24 ];
25
26 doCheck = false;
27
28 meta = with lib; {
29 description = "A module for writing binary files in the GGUF format";
30 homepage = "https://ggml.ai/";
31 license = licenses.mit;
32 maintainers = with maintainers; [ mitchmindtree ];
33 };
34}