evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / lakeside / default.nix
blob37e0444bd66c4b0903002ed1903705ab89fb149f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   protobuf,
6   pycryptodome,
7   pythonOlder,
8   requests,
9 }:
11 buildPythonPackage rec {
12   pname = "lakeside";
13   version = "0.13";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "nkgilley";
20     repo = "python-lakeside";
21     rev = "refs/tags/${version}";
22     hash = "sha256-Y5g78trkwOF3jsbgTv0uVkvfB1HZN+w1T6xIorxGAhg=";
23   };
25   propagatedBuildInputs = [
26     protobuf
27     pycryptodome
28     requests
29   ];
31   # Module has no tests
32   doCheck = false;
34   pythonImportsCheck = [ "lakeside" ];
36   meta = with lib; {
37     description = "Library for controlling LED bulbs from Eufy";
38     homepage = "https://github.com/nkgilley/python-lakeside";
39     changelog = "https://github.com/nkgilley/python-lakeside/releases/tag/${version}";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ fab ];
42   };