Merge pull request #319681 from JamieMagee/jamiemagee/genie-partner-sdk

python312Packages.genie-partner-sdk: init at 1.0.3
This commit is contained in:
Martin Weinelt 2024-06-17 17:50:04 +02:00 committed by GitHub
commit 52210def49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
pythonOlder,
hatchling,
aiohttp,
fetchPypi,
}:
buildPythonPackage rec {
pname = "genie-partner-sdk";
version = "1.0.3";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
inherit version;
pname = "genie_partner_sdk";
hash = "sha256-/Pu0pULepRpAdUfu2SQjK4xCSe3FWWNT9AqZEASoZSE=";
};
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ aiohttp ];
# No tests
doCheck = false;
pythonImportsCheck = [ "genie_partner_sdk" ];
meta = with lib; {
description = "An SDK to interact with the AladdinConnect (or OHD) partner API";
homepage = "https://github.com/Genie-Garage/aladdin-python-sdk";
license = licenses.unfree;
maintainers = with maintainers; [ jamiemagee ];
};
}

View File

@ -112,9 +112,10 @@
];
"aladdin_connect" = ps: with ps; [
fnv-hash-fast
genie-partner-sdk
psutil-home-assistant
sqlalchemy
]; # missing inputs: genie-partner-sdk
];
"alarm_control_panel" = ps: with ps; [
];
"alarmdecoder" = ps: with ps; [
@ -5251,6 +5252,7 @@
"airvisual_pro"
"airzone"
"airzone_cloud"
"aladdin_connect"
"alarm_control_panel"
"alarmdecoder"
"alert"

View File

@ -4709,6 +4709,8 @@ self: super: with self; {
generic = callPackage ../development/python-modules/generic { };
genie-partner-sdk = callPackage ../development/python-modules/genie-partner-sdk { };
geniushub-client = callPackage ../development/python-modules/geniushub-client { };
genome-collector = callPackage ../development/python-modules/genome-collector { };