Files
2025-11-05 10:01:15 -08:00

54 lines
991 B
Nix

{
aiohttp,
aresponses,
buildPythonPackage,
fetchFromGitHub,
lib,
mashumaro,
orjson,
poetry-core,
pytest-cov-stub,
pytestCheckHook,
syrupy,
yarl,
}:
buildPythonPackage rec {
pname = "pyfirefly";
version = "0.1.8";
pyproject = true;
src = fetchFromGitHub {
owner = "erwindouna";
repo = "pyfirefly";
tag = "v${version}";
hash = "sha256-b4np7JlDCbrrMo6TGE5yL6Xg41ocGoJQY8BMH/hZ9Ls=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
mashumaro
orjson
yarl
];
pythonImportsCheck = [ "pyfirefly" ];
nativeCheckInputs = [
aresponses
pytest-cov-stub
pytestCheckHook
syrupy
];
meta = {
changelog = "https://github.com/erwindouna/pyfirefly/releases/tag/${src.tag}";
description = "Asynchronous Python client for the Firefly III API";
homepage = "https://github.com/erwindouna/pyfirefly";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
}