linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / plexwebsocket / default.nix
blob86bd3c0bdb0edbcbf658ab97c8baca6fe955eb1d
1 { lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
3 buildPythonPackage rec {
4   pname = "plexwebsocket";
5   version = "0.0.13";
6   disabled = isPy27;
8   src = fetchFromGitHub {
9     owner = "jjlawren";
10     repo = "python-plexwebsocket";
11     rev = "v${version}";
12     sha256 = "sha256-u9zO3d0d4Qg+u4ezVRGkNDpJqHkYIMrEMJzBK5WKk8Y=";
13   };
15   propagatedBuildInputs = [ aiohttp ];
17   # package does not include tests
18   doCheck = false;
20   # at least guarantee the module can be imported
21   pythonImportsCheck = [
22     "plexwebsocket"
23   ];
25   meta = with lib; {
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 ];
30   };