Files
nixpkgs/pkgs/development/python-modules/aiojellyfin/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

54 lines
936 B
Nix

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