- Move the derivation into `nix/package.nix` as a callPackage
function, deriving its version from the flake revision.
- Derive the per-system list from nixpkgs instead of `flake-utils`.
- Reuse the package's build inputs in the devShell via `inputsFrom`,
keeping only the dlopened runtime libraries explicit.