Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 pythonImportsCheck = [ "directv" ]; 36 37 meta = with lib; { 38 description = "Asynchronous Python client for DirecTV (SHEF)"; 39 homepage = "https://github.com/ctalkington/python-directv"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ dotlambda ]; 42 }; 43}