summary refs log tree commit diff
path: root/pkgs/development/libraries/ctl/default.nix
blob: ac6c9657dde64be5a3cd30f2f122065079110fbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, callPackage, cmake, pkgconfig, ilmbase, libtiff, openexr }:

let
  source = callPackage ./source.nix { };
in
stdenv.mkDerivation {
  name = "ctl-${source.version}";

  src = source.src;

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ cmake libtiff ilmbase openexr ];

  meta = with stdenv.lib; {
    description = "Color Transformation Language";
    homepage = http://ampasctl.sourceforge.net;
    license = "A.M.P.A.S";
    platforms = platforms.all;
  };

  passthru.source = source;
}