12 buildPythonPackage rec {
13 pname = "fritzconnection";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
21 repo = "fritzconnection";
22 rev = "refs/tags/${version}";
23 hash = "sha256-1LLfSEOKqUIhWIR/RQEG0Bp41d908hAKDlslJlWCHys=";
26 build-system = [ setuptools ];
28 dependencies = [ requests ];
30 optional-dependencies = {
34 nativeCheckInputs = [ pytestCheckHook ];
40 pythonImportsCheck = [ "fritzconnection" ];
43 # Functional tests require network access
44 "fritzconnection/tests/test_functional.py"
48 description = "Python module to communicate with the AVM Fritz!Box";
49 homepage = "https://github.com/kbr/fritzconnection";
50 changelog = "https://fritzconnection.readthedocs.io/en/${version}/sources/version_history.html";
51 license = licenses.mit;
52 maintainers = with maintainers; [