mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
76999cc40e
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases = true;}'’ work in Nixpkgs. Misc... - qtikz: use libsForQt5.callPackage This ensures we get the right poppler. - rewrites: docbook5_xsl -> docbook_xsl_ns docbook_xml_xslt -> docbook_xsl diffpdf: fixup
29 lines
806 B
Nix
29 lines
806 B
Nix
{ stdenv, fetchurl, pkgconfig, fltk, openexr, libGLU_combined, ctl }:
|
|
|
|
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
|
|
'';
|
|
|
|
buildPhase = ''
|
|
make LDFLAGS="`fltk-config --ldflags` -lGL -lfltk_gl"
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ openexr fltk libGLU_combined 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;
|
|
};
|
|
}
|