depot/third_party/nixpkgs/pkgs/development/python-modules/hahomematic/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

49 lines
890 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pydevccu
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, voluptuous
, websocket-client
, xmltodict
}:
buildPythonPackage rec {
pname = "hahomematic";
version = "0.19.0";
format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "danielperna84";
repo = pname;
rev = version;
sha256 = "sha256-i3pNbIYISvZ681KLnxP9ZpITnkX7p0rBWjs1KidlFrM=";
};
propagatedBuildInputs = [
aiohttp
voluptuous
];
checkInputs = [
pydevccu
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"hahomematic"
];
meta = with lib; {
description = "Python module to interact with HomeMatic devices";
homepage = "https://github.com/danielperna84/hahomematic";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}