2018-02-26 11:37:39 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyunifi";
|
2018-11-04 10:35:14 +00:00
|
|
|
version = "2.15";
|
2018-02-26 11:37:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:14 +00:00
|
|
|
sha256 = "cf2f9f538722447bded6b319a35c26ea088c51ccdbd3dec887210946c7992ebf";
|
2018-02-26 11:37:39 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|