1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/tools/graphics/enblend-enfuse/default.nix
2020-04-10 17:54:53 +01:00

31 lines
886 B
Nix

{ stdenv, fetchurl
, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, libGLU, libGL, 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 libGL 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;
};
}