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