build(nix): Add pyyaml for gguf-py
This commit is contained in:
parent
06a8547a20
commit
dcee4754e5
2 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
numpy,
|
numpy,
|
||||||
tqdm,
|
tqdm,
|
||||||
sentencepiece,
|
sentencepiece,
|
||||||
|
pyyaml,
|
||||||
poetry-core,
|
poetry-core,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
|
@ -18,6 +19,7 @@ buildPythonPackage {
|
||||||
numpy
|
numpy
|
||||||
tqdm
|
tqdm
|
||||||
sentencepiece
|
sentencepiece
|
||||||
|
pyyaml
|
||||||
];
|
];
|
||||||
src = lib.cleanSource ../../gguf-py;
|
src = lib.cleanSource ../../gguf-py;
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
|
|
@ -11,6 +11,7 @@ let
|
||||||
numpy = pythonPackages.numpy;
|
numpy = pythonPackages.numpy;
|
||||||
tqdm = pythonPackages.tqdm;
|
tqdm = pythonPackages.tqdm;
|
||||||
sentencepiece = pythonPackages.sentencepiece;
|
sentencepiece = pythonPackages.sentencepiece;
|
||||||
|
pyyaml = pythonPackages.pyyaml;
|
||||||
poetry-core = pythonPackages.poetry-core;
|
poetry-core = pythonPackages.poetry-core;
|
||||||
pytestCheckHook = pythonPackages.pytestCheckHook;
|
pytestCheckHook = pythonPackages.pytestCheckHook;
|
||||||
in
|
in
|
||||||
|
@ -28,6 +29,7 @@ lib.makeScope newScope (self: {
|
||||||
tqdm
|
tqdm
|
||||||
sentencepiece
|
sentencepiece
|
||||||
poetry-core
|
poetry-core
|
||||||
|
pyyaml
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue