Tika in nixpkgs?

Hello,

I’ve lost access to my Matrix account momentarily and I’m opening this thread to get some insights on how to proceed.

Basically, I would like to package Tika in NixOS: https://tika.apache.org/

Then I can take care of making the NixOS module.

Do you have some ideas to share on how to do?

Thanks!

Nix-init is a good tool to start. Here’s the link: GitHub - nix-community/nix-init: Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more [maintainer=@figsoda]

For the module, you should look at similar services and how they are configured in NixOS, this should give you the necessary inspiration.

I am interested in Tika for paperless-ngx functionality.

There is this pr. Which adds the package, currently no module is included.

The first draft of the module is available at nixos/tika: init module by drupol · Pull Request #326532 · NixOS/nixpkgs · GitHub