about summary refs log tree commit diff
path: root/pkgs/tools/graphics/pfstools/default.nix
blob: 9b0a83725eaac35be4dfcc411bb5607bd6ae65d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{stdenv, fetchurl, libtiff, openexr, imagemagick, libjpeg, qt4, mesa,
freeglut, bzip2, libX11, libpng, expat, pkgconfig }:

stdenv.mkDerivation rec {
  name = "pfstools-1.8.3";

  src = fetchurl {
    url = "mirror://sourceforge/pfstools/${name}.tar.gz";
    sha256 = "1j3pzwpxvsx9220176bfjallc73jyda61xqkvnmlxqfd3n7ycgx1";
  };

  configureFlags = "--with-moc=${qt4}/bin/moc";

  buildInputs = [ libtiff openexr imagemagick libjpeg qt4 mesa freeglut
    bzip2 libX11 libpng expat ];

  nativeBuildInputs = [ pkgconfig ];

  meta = {
    homepage = http://pfstools.sourceforge.net/;
    description = "Toolkit for manipulation of HDR images";
    license = "GPL";
  };
}