14 stdenvNoCC.mkDerivation (
19 nativeBuildInputs = [ python3 ];
22 mkdir -p $out/{lib,share}
24 # use -L to follow symbolic links. When `projectReferences` is used in
25 # buildDotnetModule, one of the deps will be a symlink farm.
26 find -L ${lib.concatStringsSep " " deps} -type f -name '*.nupkg' -exec \
27 ln -s '{}' -t $out/lib ';'
29 # Generates a list of all licenses' spdx ids, if available.
30 # Note that this currently ignores any license provided in plain text (e.g. "LICENSE.txt")
31 python ${./extract-licenses-from-nupkgs.py} $out/lib > $out/share/licenses
34 meta.description = description;