mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
57b496ea98
I've tried to be consistent, using four or eight spaces to line up with existing code.
17 lines
378 B
Bash
Executable File
17 lines
378 B
Bash
Executable File
#! /bin/sh
|
|
|
|
source lib-cache.sh;
|
|
|
|
print_meta_yaml () {
|
|
module_name="$1";
|
|
module_basename="${module_name//::/-}";
|
|
|
|
./grab-url.sh "$(./retrieve-file-link.sh "$module_basename" "META.yml")" \
|
|
"${module_basename}.meta.yml";
|
|
};
|
|
|
|
module_name="$1";
|
|
module_basename="${module_name//::/-}";
|
|
|
|
cached_output print_meta_yaml "$module_basename" "$module_name" meta.yaml;
|