We only used phpPackage for artisan script but not for the actual PHPFPM
instance running the service. This didn't cause any harm as long as the
default PHP instance was php74 but with the switch to php80 this should
be corrected, as Snipe-IT isn't compatible with 8.0.
This is basically copied from nixpkgs-unstable's navidrome derivation
but updated to current version.
I'd prefer building this from source, but currently only manage to build
the backend-only version without the web UI, as building both requires
somehow building a node.js package inside a Go package.
Since Laravel, the PHP framework used by Snipe-IT in general supports PostgreSQL
and other database systems, there was a slight hope that it would just work™,
even though Snipe-IT itself officially only supports MySQL. Turns out it
SQLite seems to work fine so far.