2008-01-30 17:20:48 +00:00
|
|
|
args: with args;
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
assert fltk.flag_set_gl;
|
|
|
|
stdenv.mkDerivation {
|
2007-12-05 21:25:47 +00:00
|
|
|
|
|
|
|
name ="openexr_viewers-1.0.1";
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2007-12-05 21:25:47 +00:00
|
|
|
url = "http://download.savannah.nongnu.org/releases/openexr/openexr_viewers-1.0.1.tar.gz";
|
|
|
|
sha256 = "1w5qbcdp7sw48z1wk2v07f7p14vqqb1m2ncxyxnbkm9f4ab0ymg6";
|
|
|
|
};
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
inherit fltk mesa;
|
2007-12-05 21:25:47 +00:00
|
|
|
|
|
|
|
configurePhase = "
|
|
|
|
# don't know why.. adding these flags it works
|
|
|
|
#export CXXFLAGS=`fltk-config --use-gl --cxxflags --ldflags`
|
|
|
|
./configure --prefix=\$out --with-fltk-config=\$fltk/bin/fltk-config";
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
buildInputs = [openexr fltk pkgconfig mesa which openexr_ctl];
|
2007-12-05 21:25:47 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "tool to view OpenEXR images";
|
|
|
|
homepage = http://openexr.com;
|
|
|
|
license = "BSD-like";
|
|
|
|
};
|
|
|
|
}
|