1{
2 lib,
3 backoff,
4 buildPythonPackage,
5 fetchFromGitHub,
6 requests,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "yalesmartalarmclient";
12 version = "0.3.9";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchFromGitHub {
18 owner = "domwillcode";
19 repo = "yale-smart-alarm-client";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-Zpj1lLaxiTaYpcj1R/ktuVldl/r19r7fzNKvnSIDq80=";
22 };
23
24 propagatedBuildInputs = [
25 backoff
26 requests
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "yalesmartalarmclient" ];
33
34 meta = with lib; {
35 description = "Python module to interface with Yale Smart Alarm Systems";
36 homepage = "https://github.com/domwillcode/yale-smart-alarm-client";
37 license = with licenses; [ asl20 ];
38 maintainers = with maintainers; [ fab ];
39 };
40}