summary refs log tree commit diff
path: root/pkgs/applications/graphics/exrdisplay
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 18:01:17 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 18:01:17 +0000
commitf1598a8941287ed25deca83cc71c72c256089362 (patch)
treeb4735ba022095233ef2ea865de4145faead12f2e /pkgs/applications/graphics/exrdisplay
parentd67aefc19d29a1522b21152f508b90a1c0261c3d (diff)
downloadnixpkgs-f1598a8941287ed25deca83cc71c72c256089362.tar
nixpkgs-f1598a8941287ed25deca83cc71c72c256089362.tar.gz
nixpkgs-f1598a8941287ed25deca83cc71c72c256089362.tar.bz2
nixpkgs-f1598a8941287ed25deca83cc71c72c256089362.tar.lz
nixpkgs-f1598a8941287ed25deca83cc71c72c256089362.tar.xz
nixpkgs-f1598a8941287ed25deca83cc71c72c256089362.tar.zst
nixpkgs-f1598a8941287ed25deca83cc71c72c256089362.zip
* More cleanup.
svn path=/nixpkgs/trunk/; revision=22798
Diffstat (limited to 'pkgs/applications/graphics/exrdisplay')
-rw-r--r--pkgs/applications/graphics/exrdisplay/default.nix24
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";
   };
 }