1{ stdenv, buildPythonPackage, fetchPypi
2, requests }:
3
4buildPythonPackage rec {
5 pname = "pyunifi";
6 version = "2.19.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "f022eb2135b88a9d391f4553fac1bf90f3808d660fd0058203f6f9e57214626b";
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}