{ lib, stdenv , runCommandCC , fetchPypi , buildPythonPackage , isPyPy , pythonOlder , isPy3k , nose , numpy , scipy , setuptools , six , libgpuarray , config , cudaSupport ? config.cudaSupport, cudaPackages ? { } , cudnnSupport ? cudaSupport }: let inherit (cudaPackages) cudatoolkit cudnn; in assert cudnnSupport -> cudaSupport; let wrapped = command: buildTop: buildInputs: runCommandCC "${command}-wrapped" { inherit buildInputs; } '' type -P '${command}' || { echo '${command}: not found'; exit 1; } cat > "$out" <