75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
30 lines
836 B
Nix
30 lines
836 B
Nix
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pytestCheckHook, requests }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fritzconnection";
|
|
version = "1.4.2";
|
|
|
|
# no tests on PyPI
|
|
src = fetchFromGitHub {
|
|
owner = "kbr";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "02w1hwbfwbh5xlq433myzv6ms7jqxg8kn3d6znq4ic22zprzf5r2";
|
|
};
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "fritzconnection" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python-Tool to communicate with the AVM Fritz!Box";
|
|
homepage = "https://github.com/kbr/fritzconnection";
|
|
changelog = "https://fritzconnection.readthedocs.io/en/${version}/sources/changes.html";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda valodim ];
|
|
};
|
|
}
|