1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, aiohttp
5, xmltodict
6, yarl
7, aresponses
8, pytest-asyncio
9, pytestCheckHook
10}:
11
12buildPythonPackage rec {
13 pname = "rokuecp";
14 version = "0.8.4";
15 format = "setuptools";
16
17 src = fetchFromGitHub {
18 owner = "ctalkington";
19 repo = "python-rokuecp";
20 rev = version;
21 sha256 = "sha256-vwXBYwiDQZBxEZDwLX9if6dt7tKQQOLyKL5m0q/3eUw=";
22 };
23
24 propagatedBuildInputs = [
25 aiohttp
26 xmltodict
27 yarl
28 ];
29
30 checkInputs = [
31 aresponses
32 pytestCheckHook
33 pytest-asyncio
34 ];
35
36 pythonImportsCheck = [
37 "rokuecp"
38 ];
39
40 meta = with lib; {
41 description = "Asynchronous Python client for Roku (ECP)";
42 homepage = "https://github.com/ctalkington/python-rokuecp";
43 license = licenses.mit;
44 maintainers = with maintainers; [ ];
45 };
46}