build(nix): Add pyyaml for gguf-py

This commit is contained in:
ditsuke 2024-08-20 03:05:48 +05:30
parent 06a8547a20
commit dcee4754e5
No known key found for this signature in database
GPG key ID: 71B6C31C8A5A9D21
2 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@
numpy,
tqdm,
sentencepiece,
pyyaml,
poetry-core,
buildPythonPackage,
pytestCheckHook,
@ -18,6 +19,7 @@ buildPythonPackage {
numpy
tqdm
sentencepiece
pyyaml
];
src = lib.cleanSource ../../gguf-py;
pythonImportsCheck = [

View file

@ -11,6 +11,7 @@ let
numpy = pythonPackages.numpy;
tqdm = pythonPackages.tqdm;
sentencepiece = pythonPackages.sentencepiece;
pyyaml = pythonPackages.pyyaml;
poetry-core = pythonPackages.poetry-core;
pytestCheckHook = pythonPackages.pytestCheckHook;
in
@ -28,6 +29,7 @@ lib.makeScope newScope (self: {
tqdm
sentencepiece
poetry-core
pyyaml
pytestCheckHook
;
};