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