Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 26 lines 636 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, aiohttp }: 3 4buildPythonPackage rec { 5 pname = "aiounifi"; 6 version = "26"; 7 8 disabled = ! isPy3k; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "3dd0f9fc59edff5d87905ddef3eecc93f974c209d818d3a91061b05925da04af"; 13 }; 14 15 propagatedBuildInputs = [ aiohttp ]; 16 17 # upstream has no tests 18 doCheck = false; 19 20 meta = with lib; { 21 description = "An asynchronous Python library for communicating with Unifi Controller API"; 22 homepage = "https://pypi.python.org/pypi/aiounifi/"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ peterhoeg ]; 25 }; 26}