kodi.packages.websocket: init at 0.58.0+matrix.2
This commit is contained in:
parent
961cae37ed
commit
85d36c3cb2
2 changed files with 29 additions and 0 deletions
27
pkgs/applications/video/kodi-packages/websocket/default.nix
Normal file
27
pkgs/applications/video/kodi-packages/websocket/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, addonDir }:
|
||||
|
||||
buildKodiAddon rec {
|
||||
pname = "websocket";
|
||||
namespace = "script.module.websocket";
|
||||
version = "0.58.0+matrix.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
||||
sha256 = "0j2fcrn3hc6207g0k0gx5ypj4j3ww9pd7rnlzq1fgdig00laa8y7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
passthru.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;
|
||||
};
|
||||
}
|
|
@ -126,4 +126,6 @@ let self = rec {
|
|||
|
||||
urllib3 = callPackage ../applications/video/kodi-packages/urllib3 { };
|
||||
|
||||
websocket = callPackage ../applications/video/kodi-packages/websocket { };
|
||||
|
||||
}; in self
|
||||
|
|
Loading…
Reference in a new issue