2018-02-26 11:37:39 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, 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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|