mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python3Packages.hahomematic: init at 0.0.16
This commit is contained in:
parent
2707eaa112
commit
c1d0a084a9
43
pkgs/development/python-modules/hahomematic/default.nix
Normal file
43
pkgs/development/python-modules/hahomematic/default.nix
Normal file
@ -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…
Reference in New Issue
Block a user