blob: b1e3f8f162df2a39653b2a489d8f4954ebd55f6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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";
tag = "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 ];
};
}
|