summary refs log tree commit diff
path: root/pkgs/development/python-modules/fiblary3-fork/default.nix
blob: e2c53c3e417ba093164f9ec7ff0b35e108ed60c2 (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
50
51
{ lib
, buildPythonPackage
, isPy3k
, fetchPypi
, fixtures
, jsonpatch
, netaddr
, prettytable
, python-dateutil
, pytestCheckHook
, requests
, requests-mock
, six
, sphinx
, testtools
}:

buildPythonPackage rec {
  pname = "fiblary3-fork";
  version = "0.1.12";

  src = fetchPypi {
    inherit pname version;
    sha256 = "001wqh7gx2dv3sf7a5xsbppz9r88f5qwrp05jzjsjcm6cbcvmsz0";
  };

  propagatedBuildInputs = [
    jsonpatch
    netaddr
    prettytable
    python-dateutil
    requests
    six
  ];

  checkInputs = [
    fixtures
    pytestCheckHook
    requests-mock
    testtools
  ];

  pythonImportsCheck = [ "fiblary3" ];

  meta = with lib; {
    homepage = "https://github.com/graham33/fiblary";
    description = "Fibaro Home Center API Python Library";
    license = licenses.asl20;
    maintainers = with maintainers; [ graham33 ];
  };
}