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