8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
31 lines
799 B
Nix
31 lines
799 B
Nix
{ 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 ];
|
|
};
|
|
}
|