{ lib, stdenv , runCommandCC , fetchPypi , buildPythonPackage , isPyPy , pythonOlder , isPy3k , nose , numpy , scipy , setuptools , six , libgpuarray , cudaSupport ? false, cudaPackages ? {} , cudnnSupport ? false }: 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" <