3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/hahomematic/default.nix
2021-12-10 13:59:31 +01:00

44 lines
813 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, pythonOlder
, voluptuous
, websocket-client
, xmltodict
}:
buildPythonPackage rec {
pname = "hahomematic";
version = "0.0.17";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "danielperna84";
repo = pname;
rev = version;
sha256 = "sha256-XUlg3zuLJwWJCi2qx1f8eBK3Li94QxXz82G0zEgUztc=";
};
propagatedBuildInputs = [
aiohttp
voluptuous
];
# Project has no tests
doCheck = false;
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 ];
};
}