d0888d1503
Some packages just can't handle them #44767. It was tempting to try to abstract this in some way, but I didn't do that ATM.
28 lines
746 B
Nix
28 lines
746 B
Nix
{ stdenv, fetchurl, pkgconfig, openexr, libpng12, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "exrtools-${version}";
|
|
version = "0.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://scanline.ca/exrtools/${name}.tar.gz";
|
|
sha256 = "0jpkskqs1yjiighab4s91jy0c0qxcscwadfn94xy2mm2bx2qwp4z";
|
|
};
|
|
|
|
preConfigure = ''
|
|
CC=${stdenv.cc.targetPrefix}cc
|
|
CXX=${stdenv.cc.targetPrefix}c++
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ stdenv openexr libpng12 libjpeg ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Collection of utilities for manipulating OpenEXR images";
|
|
homepage = http://scanline.ca/exrtools;
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.juliendehos ];
|
|
};
|
|
}
|
|
|