3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aiounifi/default.nix

27 lines
636 B
Nix
Raw Normal View History

2019-02-28 06:03:19 +00:00
{ lib, buildPythonPackage, fetchPypi, isPy3k
, aiohttp }:
buildPythonPackage rec {
pname = "aiounifi";
2020-08-16 18:30:49 +01:00
version = "23";
2019-02-28 06:03:19 +00:00
disabled = ! isPy3k;
src = fetchPypi {
inherit pname version;
2020-08-16 18:30:49 +01:00
sha256 = "0628058b644776132f2f893f1a2201a0142a38b6acf089c6b11a63ad5a752ba7";
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";
homepage = "https://pypi.python.org/pypi/aiounifi/";
2019-02-28 06:03:19 +00:00
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}