mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python312Packages.aiojellyfin: init at 0.10.0
Simple asyncio library for accessing Jellyfin.
This commit is contained in:
parent
a3f37125b8
commit
adaab8b6ae
53
pkgs/development/python-modules/aiojellyfin/default.nix
Normal file
53
pkgs/development/python-modules/aiojellyfin/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user