mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
opencolorio: fix on darwin
This commit is contained in:
parent
4cc1cd8516
commit
80b8caf435
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, cmake, unzip }:
|
{ stdenv, lib, fetchurl, cmake, unzip, boost }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "opencolorio-${version}";
|
name = "opencolorio-${version}";
|
||||||
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = [ cmake unzip ];
|
buildInputs = [ cmake unzip ] ++ lib.optional stdenv.isDarwin boost;
|
||||||
|
|
||||||
|
cmakeFlags = lib.optional stdenv.isDarwin "-DOCIO_USE_BOOST_PTR=ON";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm $out/lib/*.a
|
rm $out/lib/*.a
|
||||||
@ -23,6 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A color management framework for visual effects and animation";
|
description = "A color management framework for visual effects and animation";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user