2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-02-26 11:37:39 +00:00
|
|
|
, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyunifi";
|
2020-06-06 07:47:29 +01:00
|
|
|
version = "2.20.1";
|
2018-02-26 11:37:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:29 +01:00
|
|
|
sha256 = "b52d1b0d87365fcfed8572b5dbd8d675bffece4ab3484bf083863f278c727d3d";
|
2018-02-26 11:37:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-02-26 11:37:39 +00:00
|
|
|
description = "API towards Ubiquity Networks UniFi controller";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/finish06/unifi-api";
|
2018-02-26 11:37:39 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|