Merge pull request #333486 from dotlambda/python3Packages.ihcsdk
home-assistant: support ihc component
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ihcsdk";
|
||||
version = "2.8.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dingusdk";
|
||||
repo = "PythonIhcSdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0meYr/SywtRfp/TBW3t8QUMlenb5KnzvKfn6c7Przpc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ihcsdk" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/dingusdk/PythonIhcSdk/releases/tag/v${version}";
|
||||
description = "SDK for connection to the LK IHC Controller";
|
||||
homepage = "https://github.com/dingusdk/PythonIhcSdk";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -1835,7 +1835,8 @@
|
||||
];
|
||||
"ihc" = ps: with ps; [
|
||||
defusedxml
|
||||
]; # missing inputs: ihcsdk
|
||||
ihcsdk
|
||||
];
|
||||
"image" = ps: with ps; [
|
||||
];
|
||||
"image_processing" = ps: with ps; [
|
||||
|
||||
@@ -5870,6 +5870,8 @@ self: super: with self; {
|
||||
inherit (pkgs) igraph;
|
||||
};
|
||||
|
||||
ihcsdk = callPackage ../development/python-modules/ihcsdk { };
|
||||
|
||||
ihm = callPackage ../development/python-modules/ihm { };
|
||||
|
||||
iisignature = callPackage ../development/python-modules/iisignature { };
|
||||
|
||||
Reference in New Issue
Block a user