Commit cac00e25 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 6f9a8cf2
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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