Merge pull request #130150 from paperdigits/openexr-update

authored by Sandro and committed by GitHub 8ea36440 108abf5c

+64 -1
+27
pkgs/development/libraries/imath/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "imath"; 9 + version = "3.0.5"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "AcademySoftwareFoundation"; 13 + repo = "imath"; 14 + rev = "v${version}"; 15 + sha256 = "0nwf8622j01p699nkkbal6xxs1snzzhz4cn6d76yppgvdhgyahsc"; 16 + }; 17 + 18 + nativeBuildInputs = [ cmake ]; 19 + 20 + meta = with lib; { 21 + description = "Imath is a C++ and python library of 2D and 3D vector, matrix, and math operations for computer graphics"; 22 + homepage = "https://github.com/AcademySoftwareFoundation/Imath"; 23 + license = licenses.bsd3; 24 + maintainers = with maintainers; [ paperdigits ]; 25 + platforms = platforms.all; 26 + }; 27 + }
+32
pkgs/development/libraries/openexr/3.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , zlib 5 + , cmake 6 + , imath 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "openexr"; 11 + version = "3.0.5"; 12 + 13 + outputs = [ "bin" "dev" "out" "doc" ]; 14 + 15 + src = fetchFromGitHub { 16 + owner = "AcademySoftwareFoundation"; 17 + repo = "openexr"; 18 + rev = "v${version}"; 19 + sha256 = "0inmpby1syyxxzr0sazqvpb8j63vpj09vpkp4xi7m2qd4rxynkph"; 20 + }; 21 + 22 + nativeBuildInputs = [ cmake ]; 23 + propagatedBuildInputs = [ imath zlib ]; 24 + 25 + meta = with lib; { 26 + description = "A high dynamic-range (HDR) image file format"; 27 + homepage = "https://www.openexr.com/"; 28 + license = licenses.bsd3; 29 + maintainers = with maintainers; [ paperdigits ]; 30 + platforms = platforms.all; 31 + }; 32 + }
+5 -1
pkgs/top-level/all-packages.nix
··· 18023 18023 18024 18024 opencv = opencv4; 18025 18025 18026 - openexr = callPackage ../development/libraries/openexr { }; 18026 + imath = callPackage ../development/libraries/imath { }; 18027 + 18028 + openexr = openexr_2; 18029 + openexr_2 = callPackage ../development/libraries/openexr { }; 18030 + openexr_3 = callPackage ../development/libraries/openexr/3.nix { }; 18027 18031 18028 18032 openexrid-unstable = callPackage ../development/libraries/openexrid-unstable { }; 18029 18033