9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
796 B
Nix
28 lines
796 B
Nix
{ lib, stdenv, fetchurl, pkg-config, fltk, openexr, libGLU, libGL, 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 = [ pkg-config ];
|
|
buildInputs = [ openexr fltk libGLU libGL ctl ];
|
|
|
|
meta = {
|
|
description = "Application for viewing OpenEXR images on a display at various exposure settings";
|
|
homepage = "http://openexr.com";
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|