blob: 7c5dfecd269b217b2e302b66540bd8fff6f48424 (
plain)
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
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, requests
, nose, mock }:
buildPythonPackage rec {
pname = "pyfritzhome";
version = "0.4.2";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "0ncyv8svw0fhs01ijjkb1gcinb3jpyjvv9xw1bhnf4ri7b27g6ww";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
mock
nose
];
checkPhase = ''
nosetests --with-coverage
'';
meta = with lib; {
description = "Python Library to access AVM FRITZ!Box homeautomation";
homepage = "https://github.com/hthiery/python-fritzhome";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}
|