blob: 321615b4b85edc3c52e7e2d024823359d9bf864f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, buildPythonPackage
, fetchPypi
, oauthlib
, pytestCheckHook
, pythonOlder
, pytz
, requests
, requests-mock
, requests-oauthlib
}:
buildPythonPackage rec {
pname = "ring-doorbell";
version = "0.7.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "ring_doorbell";
inherit version;
hash = "sha256-HYRuQZpdtBkVfFBdqQupAjzQpLIBvKGm42cCumc03GM=";
};
propagatedBuildInputs = [
oauthlib
pytz
requests
requests-oauthlib
];
nativeCheckInputs = [
pytestCheckHook
requests-mock
];
pythonImportsCheck = [
"ring_doorbell"
];
meta = with lib; {
description = "Python library to communicate with Ring Door Bell";
homepage = "https://github.com/tchellomello/python-ring-doorbell";
changelog = "https://github.com/tchellomello/python-ring-doorbell/releases/tag/${version}";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ graham33 ];
};
}
|