depot/third_party/nixpkgs/pkgs/development/python-modules/aiounifi/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

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 ];
};
}