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