python312Packages.hass-splunk: init at 0.1.2

This commit is contained in:
Robert Schütz 2024-08-06 03:11:59 -07:00
parent b67ad15b55
commit e18f068f82
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
}:
buildPythonPackage rec {
pname = "hass-splunk";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "Bre77";
repo = "hass_splunk";
rev = "refs/tags/v${version}";
hash = "sha256-bgF6gHAA57MiWdmpwilGa+l05/ETKdpyi2naVagkRlc=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "hass_splunk" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Async single threaded connector to Splunk HEC using an asyncio session";
homepage = "https://github.com/Bre77/hass_splunk";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -5457,6 +5457,8 @@ self: super: with self; {
hass-nabucasa = callPackage ../development/python-modules/hass-nabucasa { };
hass-splunk = callPackage ../development/python-modules/hass-splunk { };
hassil = callPackage ../development/python-modules/hassil { };
hatasmota = callPackage ../development/python-modules/hatasmota { };