Merge pull request #201067 from helsinki-systems/drop/appleseed

authored by Martin Weinelt and committed by GitHub b1250cd8 b3a28562

+1 -88
-84
pkgs/tools/graphics/appleseed/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile, 2 - eigen, libpng, python3, libGLU, qt4, openexr, openimageio, 3 - opencolorio_1, xercesc, ilmbase, osl, seexpr, makeWrapper 4 - }: 5 - 6 - let boost_static = boost165.override { 7 - enableStatic = true; 8 - enablePython = true; 9 - python = python3; 10 - }; 11 - in stdenv.mkDerivation rec { 12 - 13 - pname = "appleseed"; 14 - version = "2.0.5-beta"; 15 - 16 - src = fetchFromGitHub { 17 - owner = "appleseedhq"; 18 - repo = "appleseed"; 19 - rev = version; 20 - sha256 = "1sq9s0rzjksdn8ayp1g17gdqhp7fqks8v1ddd3i5rsl96b04fqx5"; 21 - }; 22 - nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 23 - buildInputs = [ 24 - boost_static guile eigen libpng python3 25 - libGLU qt4 openexr openimageio opencolorio_1 xercesc 26 - osl seexpr 27 - ]; 28 - 29 - NIX_CFLAGS_COMPILE = toString [ 30 - "-I${openexr.dev}/include/OpenEXR" 31 - "-I${ilmbase.dev}/include/OpenEXR" 32 - "-I${openimageio.dev}/include/OpenImageIO" 33 - 34 - "-Wno-unused-but-set-variable" 35 - "-Wno-error=class-memaccess" 36 - "-Wno-error=maybe-uninitialized" 37 - "-Wno-error=catch-value" 38 - "-Wno-error=stringop-truncation" 39 - ]; 40 - 41 - cmakeFlags = [ 42 - "-DUSE_EXTERNAL_XERCES=ON" "-DUSE_EXTERNAL_OCIO=ON" "-DUSE_EXTERNAL_OIIO=ON" 43 - "-DUSE_EXTERNAL_OSL=ON" "-DWITH_CLI=ON" "-DWITH_STUDIO=ON" "-DWITH_TOOLS=ON" 44 - "-DUSE_EXTERNAL_PNG=ON" "-DUSE_EXTERNAL_ZLIB=ON" 45 - "-DUSE_EXTERNAL_EXR=ON" "-DUSE_EXTERNAL_SEEXPR=ON" 46 - "-DWITH_PYTHON=ON" 47 - "-DWITH_DISNEY_MATERIAL=ON" 48 - "-DUSE_SSE=ON" 49 - "-DUSE_SSE42=ON" 50 - ]; 51 - 52 - meta = with lib; { 53 - description = "Open source, physically-based global illumination rendering engine"; 54 - homepage = "https://appleseedhq.net/"; 55 - maintainers = with maintainers; [ hodapp ]; 56 - license = licenses.mit; 57 - platforms = platforms.linux; 58 - }; 59 - 60 - # Work around a bug in the CMake build: 61 - postInstall = '' 62 - chmod a+x $out/bin/* 63 - wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python3} 64 - ''; 65 - } 66 - 67 - # TODO: Is the below problematic? 68 - 69 - # CMake Warning (dev) at /nix/store/dsyw2zla2h3ld2p0jj4cv0j3wal1bp3h-cmake-3.11.2/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message): 70 - # Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when 71 - # available. Run "cmake --help-policy CMP0072" for policy details. Use the 72 - # cmake_policy command to set the policy and suppress this warning. 73 - # 74 - # FindOpenGL found both a legacy GL library: 75 - # 76 - # OPENGL_gl_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libGL.so 77 - # 78 - # and GLVND libraries for OpenGL and GLX: 79 - # 80 - # OPENGL_opengl_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libOpenGL.so 81 - # OPENGL_glx_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libGLX.so 82 - # 83 - # OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for 84 - # compatibility with CMake 3.10 and below the legacy GL library will be used.
+1
pkgs/top-level/aliases.nix
··· 83 83 antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06 84 84 antimicroX = antimicrox; # Added 2021-10-31 85 85 apple-music-electron = throw "'apple-music-electron' is end of life and has been removed, you can use 'cider' instead"; # Added 2022-10-02 86 + appleseed = throw "appleseed has been removed, because it was unmaintained"; # Added 2022-05-26 86 87 arangodb_3_3 = throw "arangodb_3_3 went end of life and has been removed"; # Added 2022-10-08 87 88 arangodb_3_4 = throw "arangodb_3_4 went end of life and has been removed"; # Added 2022-10-08 88 89 arangodb_3_5 = throw "arangodb_3_5 went end of life and has been removed"; # Added 2022-10-08
-2
pkgs/top-level/all-packages.nix
··· 5039 5039 5040 5040 apparix = callPackage ../tools/misc/apparix { }; 5041 5041 5042 - appleseed = callPackage ../tools/graphics/appleseed { }; 5043 - 5044 5042 apc-temp-fetch = with python3.pkgs; callPackage ../tools/networking/apc-temp-fetch { }; 5045 5043 5046 5044 arping = callPackage ../tools/networking/arping { };
-2
pkgs/top-level/python-packages.nix
··· 518 518 519 519 appdirs = callPackage ../development/python-modules/appdirs { }; 520 520 521 - appleseed = toPythonModule (pkgs.appleseed.override { python3 = self.python; }); 522 - 523 521 applicationinsights = callPackage ../development/python-modules/applicationinsights { }; 524 522 525 523 appnope = callPackage ../development/python-modules/appnope { };