git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15609 from juliendehos/pbrt
f553ecdArseniy Seroka
pkgs/applications/graphics/pbrt/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{stdenv, fetchgit, flex, bison, cmake, git, zlib}:
2+
3+stdenv.mkDerivation rec {
4+
5+ version = "2016-05-19";
6+ name = "pbrt-v3-${version}";
7+ src = fetchgit {
8+ url = "https://github.com/mmp/pbrt-v3.git";
9+ rev = "638249e5cf4596e129695c8df8525d43f11573ff";
10+ sha256 = "10ykqrg4zcfb4sfsg3z793c6vld6b6g8bzfyk7ya3yvvc9sdlr5g";
11+ };
12+
13+ fetchSubmodules = true;
14+
15+ buildInputs = [ git flex bison cmake zlib ];
16+
17+ meta = {
18+ homepage = "http://pbrt.org";
19+ description = "The renderer described in the third edition of the book 'Physically Based Rendering: From Theory To Implementation'";
20+ platforms = stdenv.lib.platforms.linux ;
21+ license = stdenv.lib.licenses.bsd3;
22+ maintainers = [ stdenv.lib.maintainers.juliendehos ];
23+ priority = 10;
24+ };
25+}
pkgs/top-level/all-packages.nix+2
@@ -13667,6 +13667,8 @@ in
13667
13667
13668 paraview = callPackage ../applications/graphics/paraview { };
13668 paraview = callPackage ../applications/graphics/paraview { };
13669
13669
13670+ pbrt = callPackage ../applications/graphics/pbrt { };
13671+
13670 pcsx2 = callPackage_i686 ../misc/emulators/pcsx2 { };
13672 pcsx2 = callPackage_i686 ../misc/emulators/pcsx2 { };
13671
13673
13672 pencil = callPackage ../applications/graphics/pencil { };
13674 pencil = callPackage ../applications/graphics/pencil { };