pub fn nix_input_name(name: &str) -> StringExpand description
A flake input name for a package name: a Nix identifier, derived deterministically.
Every character outside [A-Za-z0-9_-] becomes -, runs collapse,
a name that cannot start an identifier takes the dep- prefix, and
a keyword takes the -input suffix.