evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pyfritzhome / default.nix
blob865bf8832fa9541db80bf917e0cbb5cd805acbfc
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchFromGitHub,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "pyfritzhome";
14   version = "0.6.12";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "hthiery";
21     repo = "python-fritzhome";
22     rev = "refs/tags/${version}";
23     hash = "sha256-L+9CjSXJrPmlLif1SYfJr6C76IufUzj9FHSGQO78Vsw=";
24   };
26   nativeBuildInputs = [ setuptools ];
28   propagatedBuildInputs = [
29     cryptography
30     requests
31   ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "pyfritzhome" ];
37   meta = with lib; {
38     description = "Python Library to access AVM FRITZ!Box homeautomation";
39     mainProgram = "fritzhome";
40     homepage = "https://github.com/hthiery/python-fritzhome";
41     changelog = "https://github.com/hthiery/python-fritzhome/releases/tag/${version}";
42     license = licenses.mit;
43     maintainers = with maintainers; [ hexa ];
44   };