python3Packages.hahomematic: init at 0.0.16

main
Fabian Affolter 3 years ago
parent 2707eaa112
commit c1d0a084a9
  1. 43
      pkgs/development/python-modules/hahomematic/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, pythonOlder
, voluptuous
, websocket-client
, xmltodict
}:
buildPythonPackage rec {
pname = "hahomematic";
version = "0.0.16";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "danielperna84";
repo = pname;
rev = version;
sha256 = "sha256-c+0CjERZX55A1Y73tqf6awe68TPw5pqXEIlBD5C8L8c=";
};
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 ];
};
}

@ -3490,6 +3490,8 @@ in {
ha-philipsjs = callPackage ../development/python-modules/ha-philipsjs{ };
hahomematic = callPackage ../development/python-modules/hahomematic { };
halo = callPackage ../development/python-modules/halo { };
halohome = callPackage ../development/python-modules/halohome { };

Loading…
Cancel
Save