Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

102 lines
1.6 KiB
Nix

{
lib,
stdenv,
cmake,
fetchurl,
gnumake,
makeWrapper,
pkg-config,
boost,
cairo,
enblend-enfuse,
exiv2,
fftw,
flann,
gettext,
glew,
lcms2,
lensfun,
libjpeg,
libpng,
libtiff,
libX11,
libXi,
libXmu,
libGLU,
libGL,
openexr,
panotools,
perlPackages,
sqlite,
vigra,
wrapGAppsHook3,
wxGTK,
zlib,
}:
stdenv.mkDerivation rec {
pname = "hugin";
version = "2024.0.1";
src = fetchurl {
url = "mirror://sourceforge/hugin/hugin-${version}.tar.bz2";
hash = "sha256-E+wM3utOtjFJyDN2jT43Tnz1pqjY0C1QiFzklvBbp+Q=";
};
buildInputs = [
boost
cairo
exiv2
fftw
flann
gettext
glew
lcms2
lensfun
libjpeg
libpng
libtiff
libX11
libXi
libXmu
libGLU
libGL
openexr
panotools
sqlite
vigra
wxGTK
zlib
];
nativeBuildInputs = [
cmake
makeWrapper
pkg-config
wrapGAppsHook3
wxGTK
];
strictDeps = true;
# disable installation of the python scripting interface
cmakeFlags = [ "-DBUILD_HSI:BOOl=OFF" ];
postInstall = ''
for p in $out/bin/*; do
wrapProgram "$p" \
--suffix PATH : ${enblend-enfuse}/bin \
--suffix PATH : ${gnumake}/bin \
--suffix PATH : ${perlPackages.ImageExifTool}/bin
done
'';
meta = with lib; {
homepage = "https://hugin.sourceforge.io/";
description = "Toolkit for stitching photographs and assembling panoramas, together with an easy to use graphical front end";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ hrdinka ];
platforms = platforms.linux;
};
}