python312Packages.elevenlabs: init at 1.6.1

This commit is contained in:
Robert Schütz 2024-08-08 14:47:27 -07:00 committed by Martin Weinelt
parent 245206ce7d
commit d9910c17aa
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{
buildPythonPackage,
fetchFromGitHub,
httpx,
lib,
poetry-core,
pydantic,
pydantic-core,
requests,
typing-extensions,
websockets,
}:
buildPythonPackage rec {
pname = "elevenlabs";
version = "1.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "elevenlabs";
repo = "elevenlabs-python";
rev = "refs/tags/v${version}";
hash = "sha256-IjsAd2QLYFbYRFQoZgcrKNxBUbD6+mILKkwH6E/mjyU=";
};
build-system = [ poetry-core ];
dependencies = [
httpx
pydantic
pydantic-core
requests
typing-extensions
websockets
];
pythonImportsCheck = [ "elevenlabs" ];
# tests access the API on the internet
doCheck = false;
meta = {
changelog = "https://github.com/elevenlabs/elevenlabs-python/releases/tag/v${version}";
description = "Official Python API for ElevenLabs Text to Speech";
homepage = "https://github.com/elevenlabs/elevenlabs-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -3872,6 +3872,8 @@ self: super: with self; {
elevate = callPackage ../development/python-modules/elevate { };
elevenlabs = callPackage ../development/python-modules/elevenlabs { };
eliot = callPackage ../development/python-modules/eliot { };
eliqonline = callPackage ../development/python-modules/eliqonline { };