Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / lakeside / default.nix
blobbb33367d9647f14fe384f1f94abfd3979dca15d0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , protobuf
5 , pycryptodome
6 , pythonOlder
7 , requests
8 }:
10 buildPythonPackage rec {
11   pname = "lakeside";
12   version = "0.13";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "nkgilley";
19     repo = "python-lakeside";
20     rev = "refs/tags/${version}";
21     hash = "sha256-Y5g78trkwOF3jsbgTv0uVkvfB1HZN+w1T6xIorxGAhg=";
22   };
24   propagatedBuildInputs = [
25     protobuf
26     pycryptodome
27     requests
28   ];
30   # Module has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "lakeside"
35   ];
37   meta = with lib; {
38     description = "Library for controlling LED bulbs from Eufy";
39     homepage = "https://github.com/nkgilley/python-lakeside";
40     changelog = "https://github.com/nkgilley/python-lakeside/releases/tag/${version}";
41     license = licenses.asl20;
42     maintainers = with maintainers; [ fab ];
43   };