diff options
Diffstat (limited to 'pkgs/applications/graphics/exrdisplay')
-rw-r--r-- | pkgs/applications/graphics/exrdisplay/default.nix | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/applications/graphics/exrdisplay/default.nix b/pkgs/applications/graphics/exrdisplay/default.nix index 6a8b3d6499b..65c86a6cf97 100644 --- a/pkgs/applications/graphics/exrdisplay/default.nix +++ b/pkgs/applications/graphics/exrdisplay/default.nix @@ -1,8 +1,8 @@ -args: with args; +{ stdenv, fetchurl, pkgconfig, fltk, openexr, mesa, which, openexr_ctl }: assert fltk.glSupport; -stdenv.mkDerivation { +stdenv.mkDerivation { name ="openexr_viewers-1.0.1"; src = fetchurl { @@ -10,18 +10,18 @@ stdenv.mkDerivation { sha256 = "1w5qbcdp7sw48z1wk2v07f7p14vqqb1m2ncxyxnbkm9f4ab0ymg6"; }; - inherit fltk mesa; - - 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"; + 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 + ''; - buildInputs = [openexr fltk pkgconfig mesa which openexr_ctl]; + buildInputs = [ openexr fltk pkgconfig mesa which openexr_ctl ]; meta = { - description = "tool to view OpenEXR images"; - homepage = http://openexr.com; - license = "BSD-like"; + description = "Tool to view OpenEXR images"; + homepage = http://openexr.com; + license = "BSD-like"; }; } |