c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
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.4.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/hugin/${name}.tar.bz2";
|
|
sha256 = "13n3p4f39mbdydsjqy48csjgvv30lfcwvln5y5dyy95lyrfwcp6l";
|
|
};
|
|
|
|
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 = ''
|
|
mkdir -p "$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;
|
|
};
|
|
}
|