summary refs log tree commit diff
path: root/pkgs/development/libraries/ctl/default.nix
blob: 65489ee8c88d4c2e059afd5fd12be8c882597507 (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
25
26
27
28
29
{ stdenv, fetchurl, ilmbase }:

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

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

  patches = [ ./patch.patch ./gcc47.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?
  };

}