summary refs log tree commit diff
path: root/pkgs/development/libraries/openexr_ctl/default.nix
blob: 634a38990cb1cb0edd6fde409f037815af189c43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
args:
args.stdenv.mkDerivation {
  name = "openexr_ctl-1.0.1";

  src = args.fetchurl {
    url = http://kent.dl.sourceforge.net/sourceforge/ampasctl/openexr_ctl-1.0.1.tar.gz;
    sha256 = "1jg9smpaplal8l14djp184wzk11nwd3dvm4lhkp69kjgw8jdd21d";
  };

  propagatedBuildInputs = (with args; [ilmbase]);
  buildInputs = ( with args; [openexr ctl]);
  configureFlags="--with-ilmbase-prefix=${args.ilmbase}";
  #configurePhase = "
    #export CXXFLAGS=\"-I${args.ilmbase}/include -L${args.ilmbase}/lib\"
    #echo $CXXFLAGS
    #unset configurePhase; configurePhase
  #";

  meta = {
      description = "Color Transformation Language";
      homepage = http://ampasctl.sourceforge.net;
      license = "SOME OPEN SOURCE LICENSE"; # TODO which exactly is this?
  };
}