mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
0215034f25
when they already rely on SRI hashes.
43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aiohttp
|
|
, attrs
|
|
, defusedxml
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "connect-box";
|
|
version = "0.3.0";
|
|
|
|
src = fetchPypi {
|
|
pname = "connect_box";
|
|
inherit version;
|
|
hash = "sha256-d1KqVKaHlZDm2o1GJ7r8KoONwfd1lxXexJxavCvjfW8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
attrs
|
|
defusedxml
|
|
];
|
|
|
|
# no tests are present
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "connect_box" ];
|
|
|
|
meta = with lib; {
|
|
description = "Interact with a Compal CH7465LG cable modem/router";
|
|
longDescription = ''
|
|
Python Client for interacting with the cable modem/router Compal
|
|
CH7465LG which is provided under different names by various ISP
|
|
in Europe, e.g., UPC Connect Box (CH), Irish Virgin Media Super
|
|
Hub 3.0 (IE), Ziggo Connectbox (NL) or Unitymedia Connect Box (DE).
|
|
'';
|
|
homepage = "https://github.com/home-assistant-ecosystem/python-connect-box";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|