1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/development/python-modules/aiounifi/default.nix
2019-03-02 12:37:42 +01:00

27 lines
621 B
Nix

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