summary refs log tree commit diff
path: root/pkgs/tools/graphics/enblend-enfuse/default.nix
blob: 79c905756537bc33e7c37a334ca2a6017d96574f (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
25
26
27
28
29
30
{ stdenv, fetchurl
, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, libGLU_combined, vigra
, help2man, pkgconfig, perl, texlive }:

stdenv.mkDerivation rec {
  pname = "enblend-enfuse";
  version = "4.2";

  src = fetchurl {
    url = "mirror://sourceforge/enblend/${pname}-${version}.tar.gz";
    sha256 = "0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7";
  };

  buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libGLU_combined vigra ];

  nativeBuildInputs = [ help2man perl pkgconfig texlive.combined.scheme-small ];

  preConfigure = ''
    patchShebangs src/embrace
  '';

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage = http://enblend.sourceforge.net/;
    description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
    license = licenses.gpl2;
    platforms = with platforms; linux;
  };
}