Remove it.
You need to modify your override to use it.
In addition to src
and version
, also add in something like
buildInputs = (oldAttrs.buildInputs or []) ++ [ pkgs.xorg.xinput ];
Of course this may not be sufficient, I didn’t test it, but this is the direction to start looking in.