nixpkgs-suyu/pkgs/applications/graphics/exrdisplay/default.nix
Ryan Mulligan f56f7a35ab exrdisplay: 2.2.0 -> 2.2.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.2.1 with grep in /nix/store/kpbzkj0s48h5mvvsvprqfqpah2kispil-openexr_viewers-2.2.1
- directory tree listing: https://gist.github.com/946b2664eb02e90d8d73194ffd04ac5f
2018-03-21 22:49:26 +00:00

30 lines
847 B
Nix

{ stdenv, fetchurl, pkgconfig, fltk, openexr, libGLU_combined, openexr_ctl }:
assert fltk.glSupport;
stdenv.mkDerivation {
name ="openexr_viewers-2.2.1";
src = fetchurl {
url = "mirror://savannah/openexr/openexr_viewers-2.2.1.tar.gz";
sha256 = "1ixx2wbjp4rvsf7h3bkja010gl1ihjrcjzy7h20jnn47ikg12vj8";
};
configurePhase = ''
./configure --prefix=$out --with-fltk-config=${fltk}/bin/fltk-config
'';
buildPahse = ''
make LDFLAGS="`fltk-config --ldflags` -lGL -lfltk_gl"
'';
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openexr fltk libGLU_combined openexr_ctl ];
meta = {
description = "Application for viewing OpenEXR images on a display at various exposure settings";
homepage = http://openexr.com;
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsd3;
};
}