{ stdenv , runCommandCC , fetchPypi , buildPythonPackage , isPyPy , pythonOlder , isPy3k , nose , numpy , scipy , six , libgpuarray , cudaSupport ? false, cudatoolkit , cudnnSupport ? false, cudnn , nvidia_x11 }: assert cudnnSupport -> cudaSupport; assert cudaSupport -> nvidia_x11 != null && cudatoolkit != null && cudnn != null; let wrapped = command: buildTop: buildInputs: runCommandCC "${command}-wrapped" { inherit buildInputs; } '' type -P '${command}' || { echo '${command}: not found'; exit 1; } cat > "$out" <