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