2019-05-13 22:48:21 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, ilmbase, libtiff, openexr }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2019-05-13 22:48:21 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ctl";
|
|
|
|
version = "1.5.2";
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2019-05-13 22:48:21 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ampas";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
|
|
|
sha256 = "0a698rd1cmixh3mk4r1xa6rjli8b8b7dbx89pb43xkgqxy67glwx";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "ctl-1.5.2-ilm_230.patch";
|
|
|
|
url = "https://src.fedoraproject.org/rpms/CTL/raw/9d7c15a91bccdc0a9485d463bf2789be72e6b17d/f/ctl-1.5.2-ilm_230.patch";
|
|
|
|
sha256 = "0mdx7llwrm0q8ai53zhyxi40i9h5s339dbkqpqv30yzi2xpnfj3d";
|
|
|
|
})
|
|
|
|
];
|
2013-03-19 21:34:33 +00:00
|
|
|
|
2019-05-13 22:48:21 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ libtiff ilmbase openexr ];
|
2007-12-05 21:25:47 +00:00
|
|
|
|
2015-02-19 02:02:56 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Color Transformation Language";
|
2019-05-13 22:48:21 +01:00
|
|
|
homepage = "https://github.com/ampas/CTL";
|
|
|
|
license = "A.M.P.A.S"; # BSD-derivative, free but GPL incompatible
|
2015-02-19 02:02:56 +00:00
|
|
|
platforms = platforms.all;
|
2007-12-05 21:25:47 +00:00
|
|
|
};
|
|
|
|
}
|