···11-{ lib, stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile,
22-eigen, libpng, python3, libGLU, qt4, openexr, openimageio,
33-opencolorio_1, xercesc, ilmbase, osl, seexpr, makeWrapper
44-}:
55-66-let boost_static = boost165.override {
77- enableStatic = true;
88- enablePython = true;
99- python = python3;
1010-};
1111-in stdenv.mkDerivation rec {
1212-1313- pname = "appleseed";
1414- version = "2.0.5-beta";
1515-1616- src = fetchFromGitHub {
1717- owner = "appleseedhq";
1818- repo = "appleseed";
1919- rev = version;
2020- sha256 = "1sq9s0rzjksdn8ayp1g17gdqhp7fqks8v1ddd3i5rsl96b04fqx5";
2121- };
2222- nativeBuildInputs = [ cmake pkg-config makeWrapper ];
2323- buildInputs = [
2424- boost_static guile eigen libpng python3
2525- libGLU qt4 openexr openimageio opencolorio_1 xercesc
2626- osl seexpr
2727- ];
2828-2929- NIX_CFLAGS_COMPILE = toString [
3030- "-I${openexr.dev}/include/OpenEXR"
3131- "-I${ilmbase.dev}/include/OpenEXR"
3232- "-I${openimageio.dev}/include/OpenImageIO"
3333-3434- "-Wno-unused-but-set-variable"
3535- "-Wno-error=class-memaccess"
3636- "-Wno-error=maybe-uninitialized"
3737- "-Wno-error=catch-value"
3838- "-Wno-error=stringop-truncation"
3939- ];
4040-4141- cmakeFlags = [
4242- "-DUSE_EXTERNAL_XERCES=ON" "-DUSE_EXTERNAL_OCIO=ON" "-DUSE_EXTERNAL_OIIO=ON"
4343- "-DUSE_EXTERNAL_OSL=ON" "-DWITH_CLI=ON" "-DWITH_STUDIO=ON" "-DWITH_TOOLS=ON"
4444- "-DUSE_EXTERNAL_PNG=ON" "-DUSE_EXTERNAL_ZLIB=ON"
4545- "-DUSE_EXTERNAL_EXR=ON" "-DUSE_EXTERNAL_SEEXPR=ON"
4646- "-DWITH_PYTHON=ON"
4747- "-DWITH_DISNEY_MATERIAL=ON"
4848- "-DUSE_SSE=ON"
4949- "-DUSE_SSE42=ON"
5050- ];
5151-5252- meta = with lib; {
5353- description = "Open source, physically-based global illumination rendering engine";
5454- homepage = "https://appleseedhq.net/";
5555- maintainers = with maintainers; [ hodapp ];
5656- license = licenses.mit;
5757- platforms = platforms.linux;
5858- };
5959-6060- # Work around a bug in the CMake build:
6161- postInstall = ''
6262- chmod a+x $out/bin/*
6363- wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python3}
6464- '';
6565-}
6666-6767-# TODO: Is the below problematic?
6868-6969-# CMake Warning (dev) at /nix/store/dsyw2zla2h3ld2p0jj4cv0j3wal1bp3h-cmake-3.11.2/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message):
7070-# Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
7171-# available. Run "cmake --help-policy CMP0072" for policy details. Use the
7272-# cmake_policy command to set the policy and suppress this warning.
7373-#
7474-# FindOpenGL found both a legacy GL library:
7575-#
7676-# OPENGL_gl_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libGL.so
7777-#
7878-# and GLVND libraries for OpenGL and GLX:
7979-#
8080-# OPENGL_opengl_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libOpenGL.so
8181-# OPENGL_glx_LIBRARY: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libGLX.so
8282-#
8383-# OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
8484-# compatibility with CMake 3.10 and below the legacy GL library will be used.
+1
pkgs/top-level/aliases.nix
···8383 antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06
8484 antimicroX = antimicrox; # Added 2021-10-31
8585 apple-music-electron = throw "'apple-music-electron' is end of life and has been removed, you can use 'cider' instead"; # Added 2022-10-02
8686+ appleseed = throw "appleseed has been removed, because it was unmaintained"; # Added 2022-05-26
8687 arangodb_3_3 = throw "arangodb_3_3 went end of life and has been removed"; # Added 2022-10-08
8788 arangodb_3_4 = throw "arangodb_3_4 went end of life and has been removed"; # Added 2022-10-08
8889 arangodb_3_5 = throw "arangodb_3_5 went end of life and has been removed"; # Added 2022-10-08