summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycuda/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pycuda/default.nix')
-rw-r--r--pkgs/development/python-modules/pycuda/default.nix42
1 files changed, 19 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/pycuda/default.nix b/pkgs/development/python-modules/pycuda/default.nix
index 129bd6269cd4..c436f0fc7520 100644
--- a/pkgs/development/python-modules/pycuda/default.nix
+++ b/pkgs/development/python-modules/pycuda/default.nix
@@ -1,24 +1,23 @@
-{ buildPythonPackage
-, addOpenGLRunpath
-, fetchPypi
-, fetchFromGitHub
-, mako
-, boost
-, numpy
-, pytools
-, pytest
-, decorator
-, appdirs
-, six
-, cudaPackages
-, python
-, mkDerivation
-, lib
+{
+ buildPythonPackage,
+ addOpenGLRunpath,
+ fetchPypi,
+ fetchFromGitHub,
+ mako,
+ boost,
+ numpy,
+ pytools,
+ pytest,
+ decorator,
+ appdirs,
+ six,
+ cudaPackages,
+ python,
+ mkDerivation,
+ lib,
}:
let
- compyte = import ./compyte.nix {
- inherit mkDerivation fetchFromGitHub;
- };
+ compyte = import ./compyte.nix { inherit mkDerivation fetchFromGitHub; };
inherit (cudaPackages) cudatoolkit;
in
@@ -58,9 +57,7 @@ buildPythonPackage rec {
py.test
'';
- nativeBuildInputs = [
- addOpenGLRunpath
- ];
+ nativeBuildInputs = [ addOpenGLRunpath ];
propagatedBuildInputs = [
numpy
@@ -81,5 +78,4 @@ buildPythonPackage rec {
license = licenses.mit;
maintainers = with maintainers; [ artuuge ];
};
-
}