1 { lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
3 buildPythonPackage rec {
4 pname = "plexwebsocket";
8 src = fetchFromGitHub {
10 repo = "python-plexwebsocket";
12 sha256 = "sha256-u9zO3d0d4Qg+u4ezVRGkNDpJqHkYIMrEMJzBK5WKk8Y=";
15 propagatedBuildInputs = [ aiohttp ];
17 # package does not include tests
20 # at least guarantee the module can be imported
21 pythonImportsCheck = [
26 homepage = "https://github.com/jjlawren/python-plexwebsocket/";
27 description = "Async library to react to events issued over Plex websockets";
28 license = licenses.mit;
29 maintainers = with maintainers; [ colemickens ];