1{ 2 aiohttp, 3 aioresponses, 4 buildPythonPackage, 5 dataclasses-json, 6 fetchFromGitHub, 7 lib, 8 poetry-core, 9 pytest-asyncio, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "simplefin4py"; 15 version = "0.0.18"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "jeeftor"; 20 repo = "SimpleFin4py"; 21 tag = "v${version}"; 22 hash = "sha256-S+E2zwvrXN0YDY6IxplG0D15zSoeUPMyQt2oyM3QB2Q="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 dataclasses-json 30 ]; 31 32 pythonImportsCheck = [ "simplefin4py" ]; 33 34 nativeCheckInputs = [ 35 aioresponses 36 pytest-asyncio 37 pytestCheckHook 38 ]; 39 40 disabledTests = [ 41 # fails in non-UTC time zones 42 "test_dates" 43 ]; 44 45 meta = { 46 changelog = "https://github.com/jeeftor/simplefin4py/releases/tag/v${version}"; 47 description = "Python API for Accessing SimpleFIN"; 48 homepage = "https://github.com/jeeftor/SimpleFin4py"; 49 license = lib.licenses.mit; 50 maintainers = with lib.maintainers; [ dotlambda ]; 51 }; 52}