plexwebsocket: init at 0.0.6

This commit is contained in:
Cole Mickens 2020-01-20 18:31:30 -08:00 committed by Jon
parent 51c0802bad
commit 4e26252c3d
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
buildPythonPackage rec {
pname = "plexwebsocket";
version = "0.0.6";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jjlawren";
repo = "python-plexwebsocket";
rev = "v${version}";
sha256 = "1sy9khxksimcmdvghg1ksk65mkiihjvhi7m7ms2kzmy7mrg3s3i7";
};
propagatedBuildInputs = [ aiohttp ];
# package does not include tests
doCheck = false;
# at least guarantee the module can be imported
pythonImportsCheck = [
"plexwebsocket"
];
meta = with lib; {
homepage = "https://github.com/jjlawren/python-plexwebsocket/";
description = "Async library to react to events issued over Plex websockets";
license = licenses.mit;
maintainers = with maintainers; [ colemickens ];
};
}

View File

@ -2964,6 +2964,8 @@ in {
plexauth = callPackage ../development/python-modules/plexauth { };
plexwebsocket = callPackage ../development/python-modules/plexwebsocket { };
plotly = callPackage ../development/python-modules/plotly { };
plyfile = callPackage ../development/python-modules/plyfile { };