diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2013-03-28 01:13:37 +0100 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2013-03-28 01:13:37 +0100 |
commit | 0caed13c85830b6e54b5cf65cc27cbec36041393 (patch) | |
tree | e42264d24db6124a31974533c811614cb60c6a97 /pkgs/applications/graphics | |
parent | a5e48c0f2062da5c5cc00412f0c021172c104aa5 (diff) | |
parent | 3da635c88a163f418564b9066b8087eb6da23e69 (diff) | |
download | nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.tar nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.tar.gz nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.tar.bz2 nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.tar.lz nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.tar.xz nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.tar.zst nixpkgs-0caed13c85830b6e54b5cf65cc27cbec36041393.zip |
Merge: use Python 3.3 as the default version of Python3
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/openimageio/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/openimageio/default.nix b/pkgs/applications/graphics/openimageio/default.nix new file mode 100644 index 00000000000..fa7d16ccf0a --- /dev/null +++ b/pkgs/applications/graphics/openimageio/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, boost, cmake, ilmbase, libjpeg, libpng, libtiff +, opencolorio, openexr, unzip +}: + +stdenv.mkDerivation rec { + name = "oiio-${version}"; + version = "1.1.8"; + + src = fetchurl { + url = "https://github.com/OpenImageIO/oiio/archive/Release-${version}.zip"; + sha256 = "08a6qhplzs8kianqb1gjgrndg81h3il5531jn9g6i4940b1xispg"; + }; + + buildInputs = [ + boost cmake ilmbase libjpeg libpng libtiff opencolorio openexr unzip + ]; + + configurePhase = ""; + + buildPhase = '' + make ILMBASE_HOME=${ilmbase} OPENEXR_HOME=${openexr} USE_PYTHON=0 \ + INSTALLDIR=$out dist_dir= + ''; + + installPhase = ":"; + + 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.linux; + }; +} \ No newline at end of file |