nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 59 lines 1.4 kB view raw
1{ 2 lib, 3 aiohttp, 4 attrs, 5 buildPythonPackage, 6 defusedxml, 7 fetchFromGitHub, 8 pytest-asyncio, 9 pytestCheckHook, 10 setuptools, 11 pytest-vcr, 12 syrupy, 13}: 14 15buildPythonPackage rec { 16 pname = "connect-box"; 17 version = "0.4.0"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "home-assistant-ecosystem"; 22 repo = "python-connect-box"; 23 tag = version; 24 hash = "sha256-zUvZRnxVzg9izvUbp7QVcyu6Bw3dUXHOr0kOQRWEZVc="; 25 }; 26 27 nativeBuildInputs = [ setuptools ]; 28 29 propagatedBuildInputs = [ 30 aiohttp 31 attrs 32 defusedxml 33 ]; 34 35 nativeCheckInputs = [ 36 pytest-asyncio 37 pytestCheckHook 38 pytest-vcr 39 syrupy 40 ]; 41 42 pythonImportsCheck = [ "connect_box" ]; 43 44 pytestFlags = [ "--vcr-record=none" ]; 45 46 meta = { 47 description = "Interact with a Compal CH7465LG cable modem/router"; 48 longDescription = '' 49 Python Client for interacting with the cable modem/router Compal 50 CH7465LG which is provided under different names by various ISP 51 in Europe, e.g., UPC Connect Box (CH), Irish Virgin Media Super 52 Hub 3.0 (IE), Ziggo Connectbox (NL) or Unitymedia Connect Box (DE). 53 ''; 54 homepage = "https://github.com/home-assistant-ecosystem/python-connect-box"; 55 changelog = "https://github.com/home-assistant-ecosystem/python-connect-box/releases/tag/${version}"; 56 license = with lib.licenses; [ mit ]; 57 maintainers = with lib.maintainers; [ fab ]; 58 }; 59}