2009-05-24 10:57:41 +00:00
|
|
|
{stdenv, fetchurl, panotools, cmake, wxGTK, libtiff, libpng, openexr, boost,
|
|
|
|
pkgconfig, exiv2, gettext, ilmbase, enblendenfuse, autopanosiftc }:
|
2009-04-05 21:41:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "hugin-0.7.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/hugin/hugin-0.7.0.tar.gz;
|
|
|
|
sha256 = "0nbrvzz94gqgk2v1900lly101g0wjz4zksnh5718226n2g8zlccf";
|
|
|
|
};
|
|
|
|
|
2009-07-13 16:24:47 +00:00
|
|
|
patches = [ ./levmar-64-bit-alignment.patch ];
|
|
|
|
|
2009-04-05 21:41:38 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lrt";
|
|
|
|
|
2009-12-10 22:19:52 +00:00
|
|
|
buildInputs = [ cmake panotools wxGTK libtiff libpng openexr boost pkgconfig
|
|
|
|
exiv2 gettext ilmbase ];
|
|
|
|
|
2009-05-24 10:57:41 +00:00
|
|
|
postInstall = ''
|
2009-07-12 22:00:35 +00:00
|
|
|
ensureDir "$out/nix-support"
|
|
|
|
echo "${enblendenfuse} ${autopanosiftc}" > $out/nix-support/propagated-user-env-packages
|
2009-05-24 10:57:41 +00:00
|
|
|
'';
|
2009-04-05 21:41:38 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://hugin.sourceforge.net/;
|
2009-04-06 09:19:51 +00:00
|
|
|
description = "Toolkit for stitching photographs and assembling panoramas, together with an easy to use graphical front end";
|
2009-04-06 08:26:13 +00:00
|
|
|
license = "GPLv2+";
|
2009-11-29 19:22:22 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-04-05 21:41:38 +00:00
|
|
|
};
|
|
|
|
}
|