nixpkgs/pkgs/development/libraries/ctl/default.nix

30 lines
715 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ilmbase }:
stdenv.mkDerivation {
name = "ctl-1.4.1";
src = fetchurl {
url = mirror://sourceforge/ampasctl/ctl-1.4.1.tar.gz;
sha256 = "16lzgbpxdyhykdwndj1i9vx3h4bfkxqqcrvasvgg70gb5raxj0mj";
};
2013-03-19 22:34:33 +01:00
patches = [ ./patch.patch ./gcc47.patch ];
propagatedBuildInputs = [ ilmbase ];
2013-03-19 22:34:33 +01:00
configureFlags = "--with-ilmbase-prefix=${ilmbase}";
2013-03-19 22:34:33 +01:00
#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?
};
}