1 {lib, stdenv, fetchFromGitHub, flex, bison, cmake, zlib}:
4 version = "2018-08-15";
7 src = fetchFromGitHub {
8 rev = "86b5821308088deea70b207bc8c22219d0103d65";
11 sha256 = "0f7ivsczba6zfk5f0bba1js6dcwf6w6jrkiby147qp1sx5k35cv8";
12 fetchSubmodules = true;
16 # https://github.com/mmp/pbrt-v3/issues/196
17 ./openexr-cmake-3.12.patch
20 nativeBuildInputs = [ flex bison cmake ];
21 buildInputs = [ zlib ];
24 homepage = "https://pbrt.org/";
25 description = "Renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'";
26 platforms = platforms.linux;
27 license = licenses.bsd2;
28 maintainers = [ maintainers.juliendehos ];