lol

opensubdiv: 3.0.5 -> 3.2.0

Also remove cudatoolkit override as we have cudatoolkit = cudatoolkit8 now.

+11 -17
+10 -15
pkgs/development/libraries/opensubdiv/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu, mesa_noglu, glew 1 + { lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu 2 + , mesa_noglu, glew, ocl-icd, python3 2 3 , cudaSupport ? false, cudatoolkit 3 4 }: 4 5 5 - stdenv.mkDerivation { 6 - name = "opensubdiv-3.0.5"; 6 + stdenv.mkDerivation rec { 7 + name = "opensubdiv-${version}"; 8 + version = "3.2.0"; 7 9 8 10 src = fetchFromGitHub { 9 11 owner = "PixarAnimationStudios"; 10 12 repo = "OpenSubdiv"; 11 - rev = "v3_0_5"; 12 - sha256 = "16xv4cw1k75wgd4ddr0sa87wd46ygbn2k2avh9c1mfd405p80d92"; 13 + rev = "v${lib.replaceChars ["."] ["_"] version}"; 14 + sha256 = "0wk12n1s8za3sz8d6bmfm3rfjyx20j48gy1xp57dvbnjvlvzqy3w"; 13 15 }; 14 16 15 17 outputs = [ "out" "dev" ]; 16 18 17 - patches = 18 - [ # Fix for building with cudatoolkit 7. 19 - (fetchurl { 20 - url = "https://github.com/opeca64/OpenSubdiv/commit/c3c258d00feaeffe1123f6077179c155e71febfb.patch"; 21 - sha256 = "0vazhp35v8vsgnvprkzwvfkbalr0kzcwlin9ygyfb77cz7mwicnf"; 22 - }) 23 - ]; 24 - 25 19 buildInputs = 26 - [ cmake pkgconfig mesa_glu mesa_noglu 20 + [ cmake pkgconfig mesa_glu mesa_noglu ocl-icd python3 27 21 # FIXME: these are not actually needed, but the configure script wants them. 28 - glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor xorg.libXinerama 22 + glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor 23 + xorg.libXinerama xorg.libXi 29 24 ] 30 25 ++ lib.optional cudaSupport cudatoolkit; 31 26
+1 -2
pkgs/top-level/all-packages.nix
··· 9140 9140 }; 9141 9141 9142 9142 opensubdiv = callPackage ../development/libraries/opensubdiv { 9143 - cudatoolkit = cudatoolkit8; 9143 + cmake = cmake_2_8; 9144 9144 }; 9145 9145 9146 9146 openwsman = callPackage ../development/libraries/openwsman {}; ··· 12794 12794 bleachbit = callPackage ../applications/misc/bleachbit { }; 12795 12795 12796 12796 blender = callPackage ../applications/misc/blender { 12797 - cudatoolkit = cudatoolkit8; 12798 12797 python = python35; 12799 12798 }; 12800 12799