blob: ffd378311cf3036e2d9f35c82d0bce0b5ec3b16a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "webthing-ws";
version = "0.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "home-assistant-ecosystem";
repo = "webthing-ws";
tag = version;
hash = "sha256-j7nc4yJczDs28RVFDHeQ2ZIG9mIW2m25AAeErVKi4E4=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "webthing_ws" ];
meta = {
description = "WebThing WebSocket consumer and API client";
homepage = "https://github.com/home-assistant-ecosystem/webthing-ws";
changelog = "https://github.com/home-assistant-ecosystem/webthing-ws/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|