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