python3Packages.wiim: init at 0.1.0

This commit is contained in:
Jamie Magee
2026-04-06 21:41:03 -07:00
parent 9a1cd3b004
commit 6019bcd932
2 changed files with 47 additions and 0 deletions
@@ -0,0 +1,45 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
async-upnp-client,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage (finalAttrs: {
pname = "wiim";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Linkplay2020";
repo = "wiim";
tag = "v${finalAttrs.version}";
hash = "sha256-cX8CLbzoNUs8u0+HLcg9C5aw48Dw/wI19T/q/5np6KE=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
async-upnp-client
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "wiim" ];
meta = {
description = "Python-based API interface for controlling and communicating with WiiM audio devices";
homepage = "https://github.com/Linkplay2020/wiim";
changelog = "https://github.com/Linkplay2020/wiim/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jamiemagee ];
};
})
+2
View File
@@ -21149,6 +21149,8 @@ self: super: with self; {
wifi = callPackage ../development/python-modules/wifi { };
wiim = callPackage ../development/python-modules/wiim { };
wikipedia = callPackage ../development/python-modules/wikipedia { };
wikipedia-api = callPackage ../development/python-modules/wikipedia-api { };