python3Packages.elvia: init at 0.1.0 (#407320)

This commit is contained in:
Martin Weinelt
2025-05-19 16:08:54 +02:00
committed by GitHub
3 changed files with 49 additions and 1 deletions
@@ -0,0 +1,45 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "elvia";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "andersem";
repo = "elvia-python";
tag = "v${version}";
hash = "sha256-oGXs+EwEIykkq8KjK7qNnZfLj4ZoKlgkldUiJlAI1gA=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
typing-extensions
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "elvia" ];
meta = {
description = "Unofficial API bindings for Elvia's consumer facing APIs";
homepage = "https://github.com/andersem/elvia-python";
changelog = "https://github.com/andersem/elvia-python/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ uvnikita ];
};
}
@@ -1429,10 +1429,11 @@
];
"elvia" =
ps: with ps; [
elvia
fnv-hash-fast
psutil-home-assistant
sqlalchemy
]; # missing inputs: elvia
];
"emby" =
ps: with ps; [
pyemby
+2
View File
@@ -4432,6 +4432,8 @@ self: super: with self; {
elmax-api = callPackage ../development/python-modules/elmax-api { };
elvia = callPackage ../development/python-modules/elvia { };
email-validator = callPackage ../development/python-modules/email-validator { };
emailthreads = callPackage ../development/python-modules/emailthreads { };