nixpkgs/pkgs/development/libraries/openexr/default.nix

35 lines
724 B
Nix
Raw Normal View History

{ lib
, stdenv
, buildPackages
, fetchFromGitHub
, zlib
, ilmbase
, fetchpatch
, cmake
, libtool
}:
stdenv.mkDerivation rec {
pname = "openexr";
2020-04-26 22:29:17 +01:00
version = "2.4.1";
2015-02-19 02:02:05 +00:00
2020-04-26 22:29:17 +01:00
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "openexr";
rev = "v${version}";
sha256 = "020gyl8zv83ag6gbcchmqiyx9rh2jca7j8n52zx1gk4rck7kwc01";
};
2015-02-19 02:02:05 +00:00
outputs = [ "bin" "dev" "out" "doc" ];
nativeBuildInputs = [ cmake libtool ];
2015-02-19 02:02:05 +00:00
propagatedBuildInputs = [ ilmbase zlib ];
2015-03-31 06:27:36 +01:00
enableParallelBuilding = true;
2015-02-19 02:02:05 +00:00
meta = with stdenv.lib; {
description = "A high dynamic-range (HDR) image file format";
homepage = "https://www.openexr.com/";
2015-02-19 02:02:05 +00:00
license = licenses.bsd3;
platforms = platforms.all;
};
}