2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pytestCheckHook, requests }:
|
2018-01-15 02:50:20 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fritzconnection";
|
2021-02-13 22:07:04 +01:00
|
|
|
version = "1.4.1";
|
2018-01-15 02:50:20 +01:00
|
|
|
|
2021-01-16 14:16:21 +01:00
|
|
|
# no tests on PyPI
|
2020-03-26 22:14:49 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kbr";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-02-13 22:07:04 +01:00
|
|
|
sha256 = "1v8gyr91ddinxgl7507hw64snsvcpm3r7bmdjw2v5v6rmc0wl06s";
|
2018-01-15 02:50:20 +01:00
|
|
|
};
|
|
|
|
|
2021-01-16 14:16:21 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2018-01-15 02:50:20 +01:00
|
|
|
|
2020-03-26 22:14:49 +01:00
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-01-16 14:16:21 +01:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2018-01-15 02:50:20 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-01-15 02:50:20 +01:00
|
|
|
description = "Python-Tool to communicate with the AVM FritzBox using the TR-064 protocol";
|
2021-01-16 14:16:21 +01:00
|
|
|
homepage = "https://github.com/kbr/fritzconnection";
|
2018-01-15 02:50:20 +01:00
|
|
|
license = licenses.mit;
|
2020-03-26 22:14:49 +01:00
|
|
|
maintainers = with maintainers; [ dotlambda valodim ];
|
2018-01-15 02:50:20 +01:00
|
|
|
};
|
|
|
|
}
|