mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
35 lines
613 B
Nix
35 lines
613 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
numpy,
|
|
poetry-core,
|
|
pythonOlder,
|
|
tqdm,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "gguf";
|
|
version = "0.9.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-9ecJh+FbGcVF9qn3UztAM/swYzDrHzxclf0osUw/0zs=";
|
|
};
|
|
|
|
dependencies = [
|
|
numpy
|
|
poetry-core
|
|
tqdm
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Module for writing binary files in the GGUF format";
|
|
homepage = "https://ggml.ai/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mitchmindtree ];
|
|
};
|
|
}
|