1 { lib, stdenv, fetchFromGitHub, re2, openfx, zlib, ilmbase, libGLU, libGL, openexr }:
4 pname = "openexrid-unstable";
5 version = "2017-09-17";
7 src = fetchFromGitHub {
8 owner = "MercenariesEngineering";
10 rev = "bec0081548a096f9bcdd1504970c96264b0fc050";
11 sha256 = "0h4b74lv59p4hhrvrqdmlnchn2i0v5id4kl8xc7j26l9884q0383";
14 outputs = [ "dev" "out" "lib" ];
16 patches = [ ./openexrid.patch ];
19 substituteInPlace openexrid/makefile \
23 env.NIX_CFLAGS_COMPILE = ''
24 -I${ilmbase.dev}/include/OpenEXR
25 -I${openexr.dev}/include/OpenEXR
26 -I${openfx.dev}/include/OpenFX
29 buildInputs = [ re2 openfx zlib ilmbase libGLU libGL openexr ];
31 enableParallelBuilding = true;
34 mkdir openexrid/release
36 PREFIX=$out make -C openexrid install
49 description = "OpenEXR files able to isolate any object of a CG image with a perfect antialiazing";
50 homepage = "https://github.com/MercenariesEngineering/openexrid";
51 maintainers = [ maintainers.guibou ];
52 platforms = platforms.all;
53 license = licenses.mit;