python3Packages.fish-audio-sdk: init at 1.2.0 (#492690)
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
httpx,
|
||||
httpx-ws,
|
||||
ormsgpack,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
pytestCheckHook,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "fish-audio-sdk";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fishaudio";
|
||||
repo = "fish-audio-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Ht3lVuJE1wv+Ky/q5quhO8C4mkw6EO4LkO/wSevRUhg=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
httpx-ws
|
||||
ormsgpack
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
# tests require network access and a valid API key
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fishaudio"
|
||||
"fish_audio_sdk"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Official Python library for the Fish Audio API";
|
||||
homepage = "https://github.com/fishaudio/fish-audio-python";
|
||||
changelog = "https://github.com/fishaudio/fish-audio-python/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -1797,7 +1797,8 @@
|
||||
];
|
||||
"fish_audio" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: fish-audio-sdk
|
||||
fish-audio-sdk
|
||||
];
|
||||
"fitbit" =
|
||||
ps: with ps; [
|
||||
fitbit
|
||||
@@ -7414,6 +7415,7 @@
|
||||
"firefly_iii"
|
||||
"fireservicerota"
|
||||
"firmata"
|
||||
"fish_audio"
|
||||
"fitbit"
|
||||
"fivem"
|
||||
"fjaraskupan"
|
||||
|
||||
@@ -41,6 +41,7 @@ let
|
||||
environment_canada = getComponentDeps "camera";
|
||||
esphome = getComponentDeps "camera";
|
||||
fan = getComponentDeps "conversation";
|
||||
fish_audio = getComponentDeps "tts";
|
||||
foscam = getComponentDeps "camera";
|
||||
freebox = getComponentDeps "camera";
|
||||
fully_kiosk = getComponentDeps "camera";
|
||||
|
||||
@@ -5517,6 +5517,8 @@ self: super: with self; {
|
||||
|
||||
fiscalyear = callPackage ../development/python-modules/fiscalyear { };
|
||||
|
||||
fish-audio-sdk = callPackage ../development/python-modules/fish-audio-sdk { };
|
||||
|
||||
fissix = callPackage ../development/python-modules/fissix { };
|
||||
|
||||
fitbit = callPackage ../development/python-modules/fitbit { };
|
||||
|
||||
Reference in New Issue
Block a user