1{ lib, buildPythonPackage, fetchPypi
2, requests }:
3
4buildPythonPackage rec {
5 pname = "pyunifi";
6 version = "2.21";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "ea7919caee14abe741016d8e37e96bc67a43e22f77c079e55962273f39dbea4e";
11 };
12
13 propagatedBuildInputs = [ requests ];
14
15 meta = with 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}