1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 urllib3,
6}:
7
8buildPythonPackage rec {
9 pname = "unifi";
10 version = "1.2.5";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "0prgx01hzs49prrazgxrinm7ivqzy57ch06qm2h7s1p957sazds8";
16 };
17
18 propagatedBuildInputs = [ urllib3 ];
19
20 # upstream has no tests
21 doCheck = false;
22
23 meta = with lib; {
24 description = "An API towards the Ubiquity Networks UniFi controller";
25 homepage = "https://pypi.python.org/pypi/unifi/";
26 license = licenses.mit;
27 maintainers = with maintainers; [ peterhoeg ];
28 };
29}