mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
30 lines
798 B
Nix
30 lines
798 B
Nix
{ stdenv, fetchurl, pkgconfig, fltk, openexr, mesa, openexr_ctl }:
|
|
|
|
assert fltk.glSupport;
|
|
|
|
stdenv.mkDerivation {
|
|
name ="openexr_viewers-2.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/openexr/openexr_viewers-2.2.0.tar.gz";
|
|
sha256 = "1s84vnas12ybx8zz0jcmpfbk9m4ab5bg2d3cglqwk3wys7jf4gzp";
|
|
};
|
|
|
|
configurePhase = ''
|
|
./configure --prefix=$out --with-fltk-config=${fltk}/bin/fltk-config
|
|
'';
|
|
|
|
buildPahse = ''
|
|
make LDFLAGS="`fltk-config --ldflags` -lGL -lfltk_gl"
|
|
'';
|
|
|
|
buildInputs = [ openexr fltk pkgconfig mesa 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;
|
|
};
|
|
}
|