2018-02-26 12:37:39 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyunifi";
|
2018-08-13 09:32:02 +02:00
|
|
|
version = "2.14";
|
2018-02-26 12:37:39 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-13 09:32:02 +02:00
|
|
|
sha256 = "9439ffc992ce381a39d64b5e3f4460e53872faa9cca60dcf5cee94fc0eba7fca";
|
2018-02-26 12:37:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "API towards Ubiquity Networks UniFi controller";
|
|
|
|
homepage = https://github.com/finish06/unifi-api;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|