biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / perl-modules / expression-generator / requirements.sh
blob19b24c55a8eed9f62081af8f38626ed0a94c0772
1 #! /bin/sh
3 source lib-cache.sh;
5 module_name="$1";
6 module_basename="${1//::/-}";
8 print_requirements () {
9 module_name="$1";
11 ./retrieve-meta-yaml.sh "$module_name" |
12 sed -re '1,/^requires:/d; /^[a-z]/,$d; s@^\s*@@; s@:\s.*@@';
13 ./retrieve-meta-yaml.sh "$module_name" |
14 sed -re '1,/^build_requires:/d; /^[a-z]/,$d; s@^\s*@@; s@:\s.*@@';
17 cached_output print_requirements "$module_basename" "$module_name" "direct.deps";