2022-07-14 12:49:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, openexr, boost, jemalloc, c-blosc, ilmbase, tbb }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
|
|
|
pname = "openvdb";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "9.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dreamworksanimation";
|
|
|
|
repo = "openvdb";
|
|
|
|
rev = "v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-OP1xCR1YW60125mhhrW5+8/4uk+EBGIeoWGEU9OiIGY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
buildInputs = [ openexr boost tbb jemalloc c-blosc ilmbase ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An open framework for voxel";
|
|
|
|
homepage = "https://www.openvdb.org";
|
|
|
|
maintainers = [ maintainers.guibou ];
|
2022-07-14 12:49:19 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
};
|
|
|
|
}
|