summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyopencl
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-06-06 11:34:41 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-06-06 14:42:10 +0200
commit64cd993ba6a9c0110a539173affa98a2698d6486 (patch)
tree4c1b909c837c38775875a4b2000e9e14dbcfb14c /pkgs/development/python-modules/pyopencl
parent51d9995d043c378e31eea8ef8edecebcccff68ca (diff)
downloadnixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.tar
nixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.tar.gz
nixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.tar.bz2
nixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.tar.lz
nixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.tar.xz
nixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.tar.zst
nixpkgs-64cd993ba6a9c0110a539173affa98a2698d6486.zip
python.pkgs.pyopencl: 2017.1 -> 2017.1.1
Diffstat (limited to 'pkgs/development/python-modules/pyopencl')
-rw-r--r--pkgs/development/python-modules/pyopencl/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix
index 6b07df0b110..ddab1cde1e6 100644
--- a/pkgs/development/python-modules/pyopencl/default.nix
+++ b/pkgs/development/python-modules/pyopencl/default.nix
@@ -1,5 +1,5 @@
 { stdenv
-, fetchurl
+, fetchPypi
 , buildPythonPackage
 , Mako
 , pytest
@@ -15,16 +15,16 @@
 
 buildPythonPackage rec {
   pname = "pyopencl";
-  version = "2017.1";
+  version = "2017.1.1";
   name = "${pname}-${version}";
 
   buildInputs = [ pytest opencl-headers ocl-icd ];
 
   propagatedBuildInputs = [ numpy cffi pytools decorator appdirs six Mako ];
 
-  src = fetchurl {
-    url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
-    sha256 = "b5085b6412e5a1037b893853e4e47ecb36dd04586b0f8e1809f50f7fe1437dae";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "928c458a463321c6c91e7fa54bf325bf71d7a8aa5ff750ec8fed2472f6aeb323";
   };
 
   # gcc: error: pygpu_language_opencl.cpp: No such file or directory