mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
27 lines
634 B
Nix
27 lines
634 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
|
, aiohttp }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiounifi";
|
|
version = "11";
|
|
|
|
disabled = ! isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e751cfd002f54dda76dfd498dcc53cb6fab6bff79773ca7d18c9c7b392046b12";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|