This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:
postInstall = ''
installShellCompletion --cmd foo \
--bash <($out/bin/foo completion bash) \
…
This commit just guards those with
lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)
splitting the string where unrelated actions are performed.
- add version test
- skip tests requiring live database
- add updateScript
- update upstream URLs
- linking directly to the diesel website makes more sense, as it's the
actual homepage, not where the code is hosted
the regular version changelogs should also include information on the
cli