mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
b98a144355
svn path=/nixpkgs/trunk/; revision=11947
17 lines
363 B
Bash
Executable file
17 lines
363 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;
|