Merge pull request #130150 from paperdigits/openexr-update
This commit is contained in:
commit
8ea364404e
27
pkgs/development/libraries/imath/default.nix
Normal file
27
pkgs/development/libraries/imath/default.nix
Normal 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;
|
||||
};
|
||||
}
|
32
pkgs/development/libraries/openexr/3.nix
Normal file
32
pkgs/development/libraries/openexr/3.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user