about summary refs log tree commit diff
path: root/pkgs/development/python-modules/gguf/default.nix
blob: 767a8472adf8353059b3f14cd3f609bb463d48c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, poetry-core
, pythonOlder
}:
buildPythonPackage rec {
  pname = "gguf";
  version = "0.6.0";
  format = "pyproject";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-suIuq6KhBsGtFIGGoUrZ8pxCk1Fob+nXzhbfOaBgfmU=";
  };

  dependencies = [
    numpy
    poetry-core
  ];

  doCheck = false;

  meta = with lib; {
    description = "A module for writing binary files in the GGUF format";
    homepage = "https://ggml.ai/";
    license = licenses.mit;
    maintainers = with maintainers; [ mitchmindtree ];
  };
}