Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 11c52330cc6c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2316f54f252d
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Jan 1, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e57af5d View commit details

Commits on Jan 2, 2021

  1. Merge pull request #108169 from fabaff/connect_box

    python3Packages.connect-box: init at 0.2.8
    prusnak authored Jan 2, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    travi Matt Travi
    Copy the full SHA
    2316f54 View commit details
Showing with 45 additions and 1 deletion.
  1. +42 −0 pkgs/development/python-modules/connect_box/default.nix
  2. +1 −1 pkgs/servers/home-assistant/component-packages.nix
  3. +2 −0 pkgs/top-level/python-packages.nix
42 changes: 42 additions & 0 deletions pkgs/development/python-modules/connect_box/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, attrs
, defusedxml
}:

buildPythonPackage rec {
pname = "connect-box";
version = "0.2.8";

src = fetchPypi {
pname = "connect_box";
inherit version;
sha256 = "1lvz7g2f0a9ifnjczmbavn105miirdgyayr4sixhzgdgadcdhz3l";
};

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 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -879,7 +879,7 @@
"unifiled" = ps: with ps; [ ]; # missing inputs: unifiled
"universal" = ps: with ps; [ ];
"upb" = ps: with ps; [ ]; # missing inputs: upb_lib
"upc_connect" = ps: with ps; [ ]; # missing inputs: connect-box
"upc_connect" = ps: with ps; [ connect-box ];
"upcloud" = ps: with ps; [ ]; # missing inputs: upcloud-api
"updater" = ps: with ps; [ distro ];
"upnp" = ps: with ps; [ async-upnp-client ];
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1118,6 +1118,8 @@ in {

cement = callPackage ../development/python-modules/cement { };

connect-box = callPackage ../development/python-modules/connect_box { };

cerberus = callPackage ../development/python-modules/cerberus { };

certbot = callPackage ../development/python-modules/certbot { };