blob: c2bbe9de09b68387f799e898b41928da79747029 (
plain) (
blame)
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
|
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, addonDir }:
buildKodiAddon rec {
pname = "websocket";
namespace = "script.module.websocket";
version = "1.6.4";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/nexus/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-1Wy+hxB059UoZnQlncytVT3sQ07dYAhNRnW3/QVD4ZE=";
};
propagatedBuildInputs = [
six
];
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.websocket";
};
};
meta = with lib; {
homepage = "https://github.com/websocket-client/websocket-client";
description = "A WebSocket client for Python";
license = licenses.lgpl2Only;
maintainers = teams.kodi.members;
};
}
|