implementation of the pkgx registry-spec