intel-ocl: r4.0-59481 -> 5.0-63503

+6 -6
+1 -1
nixos/modules/hardware/opengl.nix
··· 93 hardware.opengl.extraPackages = mkOption { 94 type = types.listOf types.package; 95 default = []; 96 - example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]"; 97 description = '' 98 Additional packages to add to OpenGL drivers. This can be used 99 to add OpenCL drivers, VA-API/VDPAU drivers etc.
··· 93 hardware.opengl.extraPackages = mkOption { 94 type = types.listOf types.package; 95 default = []; 96 + example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ]"; 97 description = '' 98 Additional packages to add to OpenGL drivers. This can be used 99 to add OpenCL drivers, VA-API/VDPAU drivers etc.
+5 -5
pkgs/os-specific/linux/intel-ocl/default.nix
··· 1 { stdenv, fetchzip, rpmextract, ncurses5, numactl, zlib }: 2 3 stdenv.mkDerivation rec { 4 - version = "r4.0-59481"; 5 name = "intel-ocl-${version}"; 6 7 src = fetchzip { 8 - url = "https://software.intel.com/sites/default/files/managed/48/96/SRB4_linux64.zip"; 9 - sha256 = "1q69g28i6l7p13hnsk82g2qhdf2chwh4f0wvzac6xml67hna3v34"; 10 stripRoot = false; 11 }; 12 ··· 23 24 postUnpack = '' 25 # Extract the RPMs contained within the source ZIP. 26 - rpmextract SRB4_linux64.zip/intel-opencl-${version}.x86_64.rpm 27 - rpmextract SRB4_linux64.zip/intel-opencl-cpu-${version}.x86_64.rpm 28 ''; 29 30 patchPhase = ''
··· 1 { stdenv, fetchzip, rpmextract, ncurses5, numactl, zlib }: 2 3 stdenv.mkDerivation rec { 4 name = "intel-ocl-${version}"; 5 + version = "5.0-63503"; 6 7 src = fetchzip { 8 + url = "http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_linux64.zip"; 9 + sha256 = "0qbp63l74s0i80ysh9ya8x7r79xkddbbz4378nms9i7a0kprg9p2"; 10 stripRoot = false; 11 }; 12 ··· 23 24 postUnpack = '' 25 # Extract the RPMs contained within the source ZIP. 26 + rpmextract source/intel-opencl-r${version}.x86_64.rpm 27 + rpmextract source/intel-opencl-cpu-r${version}.x86_64.rpm 28 ''; 29 30 patchPhase = ''