nixpkgs/pkgs/applications/graphics/openimageio/default.nix
Ryan Mulligan 7e0ce6f71f openimageio: 1.8.8 -> 1.8.9
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/openimageio/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/p493iy79axka02qddq8zn8ki9qxv89lr-openimageio-1.8.9-bin/bin/iinfo help` got 0 exit code
- ran `/nix/store/p493iy79axka02qddq8zn8ki9qxv89lr-openimageio-1.8.9-bin/bin/maketx -v` and found version 1.8.9
- ran `/nix/store/p493iy79axka02qddq8zn8ki9qxv89lr-openimageio-1.8.9-bin/bin/oiiotool --help` got 0 exit code
- ran `/nix/store/p493iy79axka02qddq8zn8ki9qxv89lr-openimageio-1.8.9-bin/bin/oiiotool --help` and found version 1.8.9
- found 1.8.9 with grep in /nix/store/p493iy79axka02qddq8zn8ki9qxv89lr-openimageio-1.8.9-bin
- directory tree listing: https://gist.github.com/171d660967f6995b3e6107258782e390
2018-03-30 11:00:20 +01:00

49 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, boost, cmake, ilmbase, libjpeg, libpng, libtiff
, opencolorio, openexr, unzip
}:
stdenv.mkDerivation rec {
name = "openimageio-${version}";
version = "1.8.9";
src = fetchFromGitHub {
owner = "OpenImageIO";
repo = "oiio";
rev = "Release-${version}";
sha256 = "0xyfb41arvi3cc5jvgj2m8skzjrb0xma8sml74svygjgagxfj65h";
};
outputs = [ "bin" "out" "dev" "doc" ];
nativeBuildInputs = [ cmake ];
buildInputs = [
boost ilmbase libjpeg libpng
libtiff opencolorio openexr
unzip
];
cmakeFlags = [
"-DUSE_PYTHON=OFF"
];
preBuild = ''
makeFlags="ILMBASE_HOME=${ilmbase.dev} OPENEXR_HOME=${openexr.dev} USE_PYTHON=0
INSTALLDIR=$out dist_dir="
'';
postInstall = ''
mkdir -p $bin
mv $out/bin $bin/
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://www.openimageio.org;
description = "A library and tools for reading and writing images";
license = licenses.bsd3;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.unix;
};
}