1{ stdenv, buildPythonPackage, fetchPypi
2, requests }:
3
4buildPythonPackage rec {
5 pname = "pyunifi";
6 version = "2.14";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "9439ffc992ce381a39d64b5e3f4460e53872faa9cca60dcf5cee94fc0eba7fca";
11 };
12
13 propagatedBuildInputs = [ requests ];
14
15 meta = with stdenv.lib; {
16 description = "API towards Ubiquity Networks UniFi controller";
17 homepage = https://github.com/finish06/unifi-api;
18 license = licenses.mit;
19 maintainers = with maintainers; [ peterhoeg ];
20 };
21}