Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 48 lines 922 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 aiohttp, 6 yarl, 7 aresponses, 8 pytest-asyncio, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "directv"; 14 version = "0.4.0"; 15 format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "ctalkington"; 19 repo = "python-directv"; 20 rev = version; 21 sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk"; 22 }; 23 24 propagatedBuildInputs = [ 25 aiohttp 26 yarl 27 ]; 28 29 nativeCheckInputs = [ 30 aresponses 31 pytest-asyncio 32 pytestCheckHook 33 ]; 34 35 disabledTests = [ 36 # ValueError: Host '#' cannot contain '#' (at position 0) 37 "test_client_error" 38 ]; 39 40 pythonImportsCheck = [ "directv" ]; 41 42 meta = with lib; { 43 description = "Asynchronous Python client for DirecTV (SHEF)"; 44 homepage = "https://github.com/ctalkington/python-directv"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ dotlambda ]; 47 }; 48}