ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / fritzconnection / default.nix
blobae2f69a8a7e66c95eee2cc1c6b99b8849bb47240
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , pytestCheckHook
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "fritzconnection";
11   version = "1.10.3";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "kbr";
18     repo = pname;
19     rev = version;
20     sha256 = "sha256-eRvo40VXgo+SQGeh88vRfHPnbrsVDyz03ToIgwRc43Q=";
21   };
23   propagatedBuildInputs = [
24     requests
25   ];
27   checkInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "fritzconnection"
33   ];
35   meta = with lib; {
36     description = "Python module to communicate with the AVM Fritz!Box";
37     homepage = "https://github.com/kbr/fritzconnection";
38     changelog = "https://fritzconnection.readthedocs.io/en/${version}/sources/changes.html";
39     license = licenses.mit;
40     maintainers = with maintainers; [ dotlambda valodim ];
41   };