Robert Schütz
2025-05-21 14:16:15 -07:00
parent 6f9a8cf293
commit cac00e25c3
@@ -4,6 +4,7 @@
httpx,
lib,
poetry-core,
pyaudio,
pydantic,
pydantic-core,
requests,
@@ -12,7 +13,7 @@
}:
let
version = "1.59.0";
version = "2.0.0";
tag = "v${version}";
in
buildPythonPackage {
@@ -24,7 +25,7 @@ buildPythonPackage {
owner = "elevenlabs";
repo = "elevenlabs-python";
inherit tag;
hash = "sha256-d1QnBAMTOlOlApHYAKt0fG7zV+3enIVkg78ShyrL6kM=";
hash = "sha256-QiV/B0ikXxEGs9UQUeqkPqdgxPwQi6UQ+tj6KT30Rv8=";
};
build-system = [ poetry-core ];
@@ -38,6 +39,10 @@ buildPythonPackage {
websockets
];
optional-dependencies = {
pyaudio = [ pyaudio ];
};
pythonImportsCheck = [ "elevenlabs" ];
# tests access the API on the internet