python312Packages.simplefin4py: init at 0.0.18

This commit is contained in:
Robert Schütz 2024-08-08 14:09:24 -07:00 committed by Martin Weinelt
parent c417beac46
commit b2a8cc8d02
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
aiohttp,
aioresponses,
buildPythonPackage,
dataclasses-json,
fetchFromGitHub,
lib,
poetry-core,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "simplefin4py";
version = "0.0.18";
pyproject = true;
src = fetchFromGitHub {
owner = "jeeftor";
repo = "SimpleFin4py";
rev = "refs/tags/v${version}";
hash = "sha256-S+E2zwvrXN0YDY6IxplG0D15zSoeUPMyQt2oyM3QB2Q=";
};
build-system = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
dataclasses-json
];
pythonImportsCheck = [ "simplefin4py" ];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# fails in non-UTC time zones
"test_dates"
];
meta = {
changelog = "https://github.com/jeeftor/simplefin4py/releases/tag/v${version}";
description = "Python API for Accessing SimpleFIN";
homepage = "https://github.com/jeeftor/SimpleFin4py";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -14344,6 +14344,8 @@ self: super: with self; {
simpleeval = callPackage ../development/python-modules/simpleeval { };
simplefin4py = callPackage ../development/python-modules/simplefin4py { };
simplefix = callPackage ../development/python-modules/simplefix { };
simplegeneric = callPackage ../development/python-modules/simplegeneric { };