18 stdenv.mkDerivation (finalAttrs: {
20 version = "3.8.0-beta.2";
22 src = fetchFromGitHub {
25 rev = "v${finalAttrs.version}";
26 sha256 = "sha256-BsWalXzEnymiRbBfE/gsNyWgAqzbxEzO/EQiJpbwoKs=";
47 # the installPhase wants to put files into $HOME. I let it put the files
48 # to $TMPDIR, so they don't get into the $out
53 sed -i -e 's/^povconfuser.*/povconfuser=$(TMPDIR)\/povray/' Makefile.{am,in}
54 sed -i -e 's/^povuser.*/povuser=$(TMPDIR)\/.povray/' Makefile.{am,in}
55 sed -i -e 's/^povowner.*/povowner=nobody/' Makefile.{am,in}
56 sed -i -e 's/^povgroup.*/povgroup=nogroup/' Makefile.{am,in}
61 "--with-boost-thread=boost_thread"
65 enableParallelBuilding = true;
69 for i in chown chgrp; do
70 echo '#!${stdenv.shell}' >> "$TMP/bin/$i"
71 chmod +x "$TMP/bin/$i"
77 homepage = "http://www.povray.org/";
78 description = "Persistence of Vision Raytracer";
79 license = lib.licenses.free;
80 platforms = lib.platforms.linux;
81 mainProgram = "povray";
82 maintainers = with lib.maintainers; [ fgaz ];