I want to port some AUR packages to flake.nix, but it seems to be complex.
then I thought, how about electron packages, since they don’t need build.
anyway, this is the package netpad-player from aur.
with the help of gemini 2.0 pro 02-05, I built it successfully.
flake.nix
save it, then run
and
the result.

Now I know how to pack nixpkgs lol.