1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/tools/graphics/enblend-enfuse/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

32 lines
885 B
Nix

{ stdenv, fetchurl
, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, mesa, vigra
, help2man, pkgconfig, perl, tetex }:
stdenv.mkDerivation rec {
name = "enblend-enfuse-${version}";
version = "4.2";
src = fetchurl {
url = "mirror://sourceforge/enblend/${name}.tar.gz";
sha256 = "0j5x011ilalb47ssah50ag0a4phgh1b0wdgxdbbp1gcyjcjf60w7";
};
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff mesa vigra ];
nativeBuildInputs = [ help2man perl pkgconfig tetex ];
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;
maintainers = with maintainers; [ nckx ];
platforms = with platforms; linux;
};
}