python3Packages.aiounifi: init at 4

This commit is contained in:
Peter Hoeg
2019-02-28 14:03:19 +08:00
committed by Robert Schütz
parent e43f2369ae
commit 0319b561a5
2 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
, aiohttp }:
buildPythonPackage rec {
pname = "aiounifi";
version = "4";
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0594nb8mpfhnnk9jadbdnbn9v7p4sh3430kcgfyhsh7ayw2mpb9m";
};
propagatedBuildInputs = [ aiohttp ];
# upstream has no tests
doCheck = false;
meta = with lib; {
description = "An asynchronous Python library for communicating with Unifi Controller API";
homepage = https://pypi.python.org/pypi/aiounifi/;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}