1{
2 lib,
3 buildPythonPackage,
4 isPy3k,
5 fetchPypi,
6 fixtures,
7 jsonpatch,
8 netaddr,
9 prettytable,
10 python-dateutil,
11 pytestCheckHook,
12 requests,
13 requests-mock,
14 six,
15 sphinx,
16 testtools,
17}:
18
19buildPythonPackage rec {
20 pname = "fiblary3-fork";
21 version = "0.1.12";
22 format = "setuptools";
23
24 src = fetchPypi {
25 inherit pname version;
26 sha256 = "001wqh7gx2dv3sf7a5xsbppz9r88f5qwrp05jzjsjcm6cbcvmsz0";
27 };
28
29 propagatedBuildInputs = [
30 jsonpatch
31 netaddr
32 prettytable
33 python-dateutil
34 requests
35 six
36 ];
37
38 nativeCheckInputs = [
39 fixtures
40 pytestCheckHook
41 requests-mock
42 testtools
43 ];
44
45 pythonImportsCheck = [ "fiblary3" ];
46
47 meta = with lib; {
48 homepage = "https://github.com/graham33/fiblary";
49 description = "Fibaro Home Center API Python Library";
50 license = licenses.asl20;
51 maintainers = with maintainers; [ graham33 ];
52 };
53}