Hey hey,
I’ve also run into this before, and just saw this other post: Isn't this a nix antipattern? . They suggested to maybe pass version as an input, although if multiple hash values need to be updated, passing them all separately would be quite annoying…
A standard could be to add a single easily overridable attrSet like:
pkgMeta = {
version = ...;
hash = ...;
npmDepsHash = ...;
... # other versioning/hash values here
};
and then have src pull from there? This could be put under passthru, or passed as an input maybe.