python3Packages.wiim: init at 0.1.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user