summary refs log blame commit diff
path: root/pkgs/development/libraries/ctl/default.nix
blob: 950fe1baf0890f305a79a2ff5316b99f28e2b168 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                              
                     

                     
                  



                                                                                  





                                                      
                     
                                                              




                                         


                                                                       
    
 
 
{ stdenv, fetchurl, ilmbase }:

stdenv.mkDerivation {
  name = "ctl-1.4.1";

  src = fetchurl {
    url = http://surfnet.dl.sourceforge.net/sourceforge/ampasctl/ctl-1.4.1.tar.gz;
    sha256 = "16lzgbpxdyhykdwndj1i9vx3h4bfkxqqcrvasvgg70gb5raxj0mj";
  };

  patches = [ ./patch.patch ];
  
  propagatedBuildInputs = [ ilmbase ];
  
  configureFlags = "--with-ilmbase-prefix=${ilmbase}";
  
  #configurePhase = "
    #export CXXFLAGS=\"-I${ilmbase}/include -L${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?
  };

}