mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
5cf5a154db
svn path=/nixpkgs/trunk/; revision=22810
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{stdenv, fetchurl, panotools, cmake, wxGTK, libtiff, libpng, openexr, boost,
|
|
pkgconfig, exiv2, gettext, ilmbase, enblendenfuse, autopanosiftc, mesa, freeglut,
|
|
glew, libXmu, libXi }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hugin-2010.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/hugin/${name}.tar.gz";
|
|
sha256 = "08xm7ggfrh536lqvdzw7zg09p2awbclw5r7i8c59gf092w1cac7d";
|
|
};
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
|
|
|
NIX_LDFLAGS = "-lrt";
|
|
|
|
buildInputs = [ cmake panotools wxGTK libtiff libpng openexr boost pkgconfig
|
|
exiv2 gettext ilmbase mesa freeglut glew libXmu libXi ];
|
|
|
|
postInstall = ''
|
|
ensureDir "$out/nix-support"
|
|
echo "${enblendenfuse} ${autopanosiftc}" > $out/nix-support/propagated-user-env-packages
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://hugin.sourceforge.net/;
|
|
description = "Toolkit for stitching photographs and assembling panoramas, together with an easy to use graphical front end";
|
|
license = "GPLv2+";
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|