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