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

29 lines
784 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy3k, slixmpp, async-timeout, aiohttp }:
buildPythonPackage rec {
pname = "aioharmony";
2020-07-31 09:56:35 +01:00
version = "0.2.6";
src = fetchPypi {
inherit pname version;
2020-07-31 09:56:35 +01:00
sha256 = "90f4d1220d44b48b21a57e0273aa3c4a51599d0097af88e8be26df151e599344";
};
disabled = !isPy3k;
#aioharmony does not seem to include tests
doCheck = false;
pythonImportsCheck = [ "aioharmony.harmonyapi" "aioharmony.harmonyclient" ];
propagatedBuildInputs = [ slixmpp async-timeout aiohttp ];
meta = with lib; {
homepage = "https://github.com/ehendrix23/aioharmony";
description =
"Asyncio Python library for connecting to and controlling the Logitech Harmony";
license = licenses.asl20;
maintainers = with maintainers; [ oro ];
};
}