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