depot/third_party/nixpkgs/pkgs/applications/video/kodi-packages/websocket/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

27 lines
731 B
Nix

{ 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;
};
}