Merge pull request #130150 from paperdigits/openexr-update

This commit is contained in:
Sandro 2021-08-21 12:14:21 +02:00 committed by GitHub
commit 8ea364404e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 64 additions and 1 deletions

View file

@ -0,0 +1,27 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "imath";
version = "3.0.5";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "imath";
rev = "v${version}";
sha256 = "0nwf8622j01p699nkkbal6xxs1snzzhz4cn6d76yppgvdhgyahsc";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Imath is a C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics";
homepage = "https://github.com/AcademySoftwareFoundation/Imath";
license = licenses.bsd3;
maintainers = with maintainers; [ paperdigits ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,32 @@
{ lib
, stdenv
, fetchFromGitHub
, zlib
, cmake
, imath
}:
stdenv.mkDerivation rec {
pname = "openexr";
version = "3.0.5";
outputs = [ "bin" "dev" "out" "doc" ];
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openexr";
rev = "v${version}";
sha256 = "0inmpby1syyxxzr0sazqvpb8j63vpj09vpkp4xi7m2qd4rxynkph";
};
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ imath zlib ];
meta = with lib; {
description = "A high dynamic-range (HDR) image file format";
homepage = "https://www.openexr.com/";
license = licenses.bsd3;
maintainers = with maintainers; [ paperdigits ];
platforms = platforms.all;
};
}

View file

@ -18023,7 +18023,11 @@ with pkgs;
opencv = opencv4;
openexr = callPackage ../development/libraries/openexr { };
imath = callPackage ../development/libraries/imath { };
openexr = openexr_2;
openexr_2 = callPackage ../development/libraries/openexr { };
openexr_3 = callPackage ../development/libraries/openexr/3.nix { };
openexrid-unstable = callPackage ../development/libraries/openexrid-unstable { };