pub fn from_nix_str(s: &str) -> NixHashResult<NixHash>
Parses a Nix hash string ($algo:$digest) to a NixHash.