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