fbfab88e04
Unneded args.something replaced with args: with args; line. After this line args is the only place where we can recieve variables from. Also removed several buildInputs = []; lines. svn path=/nixpkgs/branches/stdenv-updates/; revision=10429
25 lines
722 B
Nix
25 lines
722 B
Nix
args: with args;
|
|
stdenv.mkDerivation {
|
|
name = "openexr_ctl-1.0.1";
|
|
|
|
src = fetchurl {
|
|
url = http://kent.dl.sourceforge.net/sourceforge/ampasctl/openexr_ctl-1.0.1.tar.gz;
|
|
sha256 = "1jg9smpaplal8l14djp184wzk11nwd3dvm4lhkp69kjgw8jdd21d";
|
|
};
|
|
|
|
propagatedBuildInputs = [ilmbase];
|
|
buildInputs = [openexr ctl];
|
|
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?
|
|
};
|
|
}
|