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
53
54
55
56
57
|
{
lib,
buildPythonPackage,
email-validator,
fetchFromGitHub,
hatchling,
jinja2,
lxml,
ollama,
pydantic,
pytest-dotenv,
pytest-factoryboy,
pytest-mock,
pytestCheckHook,
pyyaml,
}:
buildPythonPackage rec {
pname = "beanhub-inbox";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "LaunchPlatform";
repo = "beanhub-inbox";
tag = version;
hash = "sha256-WWfZsJRm2rJI85vmFt/AtV++5vpSTJZpRrk3PdHMhAA=";
};
build-system = [ hatchling ];
dependencies = [
email-validator
jinja2
lxml
ollama
pydantic
pyyaml
];
nativeCheckInputs = [
pytest-dotenv
pytest-factoryboy
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "beanhub_inbox" ];
meta = {
description = "Email processing engine for archiving and extracting financial data with LLM";
homepage = "https://github.com/LaunchPlatform/beanhub-inbox";
changelog = "https://github.com/LaunchPlatform/beanhub-inbox/releases/tag${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|