2019-02-28 06:03:19 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, aiohttp }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiounifi";
|
2020-06-06 07:46:56 +01:00
|
|
|
version = "22";
|
2019-02-28 06:03:19 +00:00
|
|
|
|
|
|
|
disabled = ! isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:46:56 +01:00
|
|
|
sha256 = "ad2625c8a62e28781d50644f4a4df5a97a32174b965cd3b329820ae85e2dfcc3";
|
2019-02-28 06:03:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ aiohttp ];
|
|
|
|
|
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An asynchronous Python library for communicating with Unifi Controller API";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/aiounifi/";
|
2019-02-28 06:03:19 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|