1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 aiohttp,
6 jsonrpc-async,
7 jsonrpc-websocket,
8}:
9
10buildPythonPackage rec {
11 pname = "pykodi";
12 version = "0.2.7";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-2fFkbZZ3RXMolaaGpkvvVfSYtNNB1bTsoRCin3GnVKM=";
18 };
19
20 propagatedBuildInputs = [
21 aiohttp
22 jsonrpc-async
23 jsonrpc-websocket
24 ];
25
26 # has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "pykodi" ];
30
31 meta = with lib; {
32 description = "Async python interface for Kodi over JSON-RPC";
33 homepage = "https://github.com/OnFreund/PyKodi";
34 license = licenses.mit;
35 maintainers = with maintainers; [ sephalon ];
36 };
37}