depot/third_party/nixpkgs/pkgs/development/python-modules/aioharmony/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

41 lines
791 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchPypi
, pythonOlder
, slixmpp
}:
buildPythonPackage rec {
pname = "aioharmony";
version = "0.2.9";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-T30pLzPWD+5pb0ShkpNdiBFO45RdiMYgCOSg8rx+t+Y=";
};
propagatedBuildInputs = [
aiohttp
async-timeout
slixmpp
];
# aioharmony does not seem to include tests
doCheck = false;
pythonImportsCheck = [
"aioharmony.harmonyapi"
"aioharmony.harmonyclient"
];
meta = with lib; {
homepage = "https://github.com/ehendrix23/aioharmony";
description = "Python library for interacting the Logitech Harmony devices";
license = licenses.asl20;
maintainers = with maintainers; [ oro ];
};
}