diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/aiounifi/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/aiounifi/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/aiounifi/default.nix b/nixpkgs/pkgs/development/python-modules/aiounifi/default.nix new file mode 100644 index 00000000000..cee5c2606e0 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/aiounifi/default.nix @@ -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 ]; + }; +} |