Files
nixpkgs/pkgs/development/python-modules/elevenlabs/default.nix
T
Martin Weinelt ab1ced9a47 python3Packages.elevenlabs: 2.7.1 -> 2.8.2
https://github.com/elevenlabs/elevenlabs-python/releases/tag/v2.8.2

This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:17 +02:00

59 lines
1.1 KiB
Nix

{
buildPythonPackage,
fetchFromGitHub,
httpx,
lib,
poetry-core,
pyaudio,
pydantic,
pydantic-core,
requests,
typing-extensions,
websockets,
}:
let
version = "2.8.2";
tag = "v${version}";
in
buildPythonPackage {
pname = "elevenlabs";
inherit version;
pyproject = true;
src = fetchFromGitHub {
owner = "elevenlabs";
repo = "elevenlabs-python";
inherit tag;
hash = "sha256-QHWY8I4saucDLDX29EmyPFKCS5MxAC5Le2GEFZk4GBw=";
};
build-system = [ poetry-core ];
dependencies = [
httpx
pydantic
pydantic-core
requests
typing-extensions
websockets
];
optional-dependencies = {
pyaudio = [ pyaudio ];
};
pythonImportsCheck = [ "elevenlabs" ];
# tests access the API on the internet
doCheck = false;
meta = {
changelog = "https://github.com/elevenlabs/elevenlabs-python/releases/tag/${tag}";
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 ];
};
}