python312Packages.aiojellyfin: init at 0.10.0

Simple asyncio library for accessing Jellyfin.
This commit is contained in:
Martin Weinelt 2024-08-04 22:56:43 +02:00
parent a3f37125b8
commit adaab8b6ae
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
aiohttp,
mashumaro,
# tests
pytestCheckHook,
pytest-aiohttp,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "aiojellyfin";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Jc2k";
repo = "aiojellyfin";
rev = "v${version}";
hash = "sha256-D4/DlhCeeI4CggW7KGauZ57fHY92JM/kZSUODyNVcNg=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
mashumaro
];
nativeCheckInputs = [
pytestCheckHook
pytest-aiohttp
pytest-cov-stub
];
pythonImportsCheck = [ "aiojellyfin" ];
meta = with lib; {
description = "";
homepage = "https://github.com/Jc2k/aiojellyfin";
changelog = "https://github.com/Jc2k/aiojellyfin/blob/${src.rev}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -289,6 +289,8 @@ self: super: with self; {
aioinflux = callPackage ../development/python-modules/aioinflux { };
aiojellyfin = callPackage ../development/python-modules/aiojellyfin { };
aiojobs = callPackage ../development/python-modules/aiojobs { };
aiokafka = callPackage ../development/python-modules/aiokafka { };