Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 58 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ buildPythonPackage, fetchFromGitHub, httpx, lib, poetry-core, pyaudio, pydantic, pydantic-core, requests, typing-extensions, websockets,}:
let version = "2.7.1"; tag = "v${version}";inbuildPythonPackage { pname = "elevenlabs"; inherit version; pyproject = true;
src = fetchFromGitHub { owner = "elevenlabs"; repo = "elevenlabs-python"; inherit tag; hash = "sha256-QbjVd+cVe6Y/deTeO31bwjGHNl9ykOrWFdFhOepFnxY="; };
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 ]; };}