2010-07-28 20:01:17 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, fltk, openexr, mesa, which, openexr_ctl }:
|
2007-12-05 22:25:47 +01:00
|
|
|
|
2008-12-20 03:15:26 +01:00
|
|
|
assert fltk.glSupport;
|
2007-12-05 22:25:47 +01:00
|
|
|
|
2010-07-28 20:01:17 +02:00
|
|
|
stdenv.mkDerivation {
|
2007-12-05 22:25:47 +01:00
|
|
|
name ="openexr_viewers-1.0.1";
|
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2013-07-14 04:23:06 +02:00
|
|
|
url = "mirror://savannah/openexr/openexr_viewers-1.0.1.tar.gz";
|
2007-12-05 22:25:47 +01:00
|
|
|
sha256 = "1w5qbcdp7sw48z1wk2v07f7p14vqqb1m2ncxyxnbkm9f4ab0ymg6";
|
|
|
|
};
|
|
|
|
|
2010-07-28 20:01:17 +02: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
|
|
|
|
'';
|
2007-12-05 22:25:47 +01:00
|
|
|
|
2010-07-28 20:01:17 +02:00
|
|
|
buildInputs = [ openexr fltk pkgconfig mesa which openexr_ctl ];
|
2007-12-05 22:25:47 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 20:01:17 +02:00
|
|
|
description = "Tool to view OpenEXR images";
|
|
|
|
homepage = http://openexr.com;
|
|
|
|
license = "BSD-like";
|
2007-12-05 22:25:47 +01:00
|
|
|
};
|
|
|
|
}
|