b6d97fd731
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
26 lines
636 B
Nix
26 lines
636 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
|
, aiohttp }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiounifi";
|
|
version = "26";
|
|
|
|
disabled = ! isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3dd0f9fc59edff5d87905ddef3eecc93f974c209d818d3a91061b05925da04af";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|