summary refs log tree commit diff
path: root/pkgs/development/python-modules/pykodi/default.nix
blob: 24450270a836a917cef92aa6ad25ad276b755708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildPythonPackage, fetchPypi, aiohttp, jsonrpc-async, jsonrpc-websocket }:

buildPythonPackage rec {
  pname = "pykodi";
  version = "0.2.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "099xyn5aql5mdim6kh4hwx0fg1a3bx73qdvwr48nz23cljmmk1m8";
  };

  propagatedBuildInputs = [ aiohttp jsonrpc-async jsonrpc-websocket ];

  pythonImportsCheck = [ "pykodi" ];

  meta = with lib; {
    description = "An async python interface for Kodi over JSON-RPC";
    homepage = "https://github.com/OnFreund/PyKodi";
    license = licenses.mit;
    maintainers = with maintainers; [ sephalon ];
  };
}