Commit 7d00bc8d authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.beanhub-inbox: init at 0.2.3

Email processing engine for archiving and extracting financial
data with LLM

https://github.com/LaunchPlatform/beanhub-inbox
parent fde282a3
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1805,6 +1805,8 @@ self: super: with self; {
  beanhub-import = callPackage ../development/python-modules/beanhub-import { };
  beanhub-inbox = callPackage ../development/python-modules/beanhub-inbox { };
  beanquery = callPackage ../development/python-modules/beanquery { };
  beanstalkc = callPackage ../development/python-modules/beanstalkc { };