Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
1.1 KiB
Nix
58 lines
1.1 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
}
|