1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/pbrt/default.nix

27 lines
752 B
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, flex, bison, cmake, git, zlib}:
2016-05-21 23:33:19 +01:00
stdenv.mkDerivation rec {
version = "2017-01-12";
2016-05-21 23:33:19 +01:00
name = "pbrt-v3-${version}";
src = fetchFromGitHub {
rev = "35b6da3429526f2026fe5e5ebaf36d593e113028";
owner = "mmp";
repo = "pbrt-v3";
sha256 = "10lvbph13p6ilzqb8sgrvn9gg1zmi8wpy3hhjbqp8dnsa4x0mhj7";
fetchSubmodules = true;
};
2016-05-21 23:33:19 +01:00
buildInputs = [ git flex bison cmake zlib ];
meta = with stdenv.lib; {
homepage = http://pbrt.org;
2016-05-21 23:33:19 +01:00
description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'";
platforms = platforms.linux ;
license = licenses.bsd2;
maintainers = [ maintainers.juliendehos ];
2016-05-21 23:33:19 +01:00
priority = 10;
};
}