diff options
author | Julien Dehos <dehos@lisic.univ-littoral.fr> | 2016-05-22 00:33:19 +0200 |
---|---|---|
committer | Julien Dehos <dehos@lisic.univ-littoral.fr> | 2016-05-22 11:36:41 +0200 |
commit | 294a77651106de4156c01a984c215ac6e452c296 (patch) | |
tree | 0c4ffc49150b2d7c1586f2fd079a9a5ae4c08a07 /pkgs/applications/graphics/pbrt | |
parent | 7b56411fef87d7ab775640117bf461aaeb4a55e1 (diff) |
pbrt: init at 2016-05-19
Diffstat (limited to 'pkgs/applications/graphics/pbrt')
-rw-r--r-- | pkgs/applications/graphics/pbrt/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/pbrt/default.nix b/pkgs/applications/graphics/pbrt/default.nix new file mode 100644 index 0000000000000..5bf6907744adb --- /dev/null +++ b/pkgs/applications/graphics/pbrt/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchgit, flex, bison, cmake, git, zlib}: + +stdenv.mkDerivation rec { + + version = "2016-05-19"; + name = "pbrt-v3-${version}"; + src = fetchgit { + url = "https://github.com/mmp/pbrt-v3.git"; + rev = "638249e5cf4596e129695c8df8525d43f11573ff"; + sha256 = "10ykqrg4zcfb4sfsg3z793c6vld6b6g8bzfyk7ya3yvvc9sdlr5g"; + }; + + fetchSubmodules = true; + + buildInputs = [ git flex bison cmake zlib ]; + + meta = { + homepage = "http://pbrt.org"; + description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'"; + platforms = stdenv.lib.platforms.linux ; + license = stdenv.lib.licenses.bsd3; + maintainers = [ stdenv.lib.maintainers.juliendehos ]; + priority = 10; + }; +} |