9 module_basename
="${module_name//::/-}";
10 module_compressedname
="perl${module_name//::/}";
11 sourcelink
="$(./source-download-link.sh "${module_name}")";
12 version_name
="${sourcelink%.tar.*}";
13 version_name
="${version_name##*/}";
14 dependencies
="$(./filtered-requirements.sh "$module_name" | sed -e 's/^/perl/; s/:://g' | xargs)";
15 source_hash
=$
(nix-prefetch-url
"$sourcelink" 2>/dev
/null
);
19 ${module_compressedname} = import ../development/perl-modules/generic perl {
20 name = "${version_name}";
23 sha256 = "$source_hash";
25 propagatedBuildInputs = [${dependencies}];
32 module_basename
="${module_name//::/-}";
34 cached_output print_expression
"$module_basename" "$module_name" "nix";