diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/by-name/hu/hugin/package.nix similarity index 85% rename from pkgs/applications/graphics/hugin/default.nix rename to pkgs/by-name/hu/hugin/package.nix index aad78856a954..1e9f0c735191 100644 --- a/pkgs/applications/graphics/hugin/default.nix +++ b/pkgs/by-name/hu/hugin/package.nix @@ -36,11 +36,11 @@ stdenv.mkDerivation rec { pname = "hugin"; - version = "2024.0.1"; + version = "2025.0.0"; src = fetchurl { url = "mirror://sourceforge/hugin/hugin-${version}.tar.bz2"; - hash = "sha256-E+wM3utOtjFJyDN2jT43Tnz1pqjY0C1QiFzklvBbp+Q="; + hash = "sha256-DeJ6XVQy421OXTisJde8r8e33VQqqwMWQKYe1mdnB2w"; }; buildInputs = [ @@ -82,6 +82,13 @@ stdenv.mkDerivation rec { # disable installation of the python scripting interface cmakeFlags = [ "-DBUILD_HSI:BOOl=OFF" ]; + # hugin libs are added to NEEDED but not to RUNPATH + postFixup = '' + for p in $out/bin/..*; do + patchelf "$p" --add-rpath $out/lib/hugin + done + ''; + postInstall = '' for p in $out/bin/*; do wrapProgram "$p" \ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8a2f0994dbad..5d751f8a13b1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10948,7 +10948,7 @@ with pkgs; hpack = haskell.lib.compose.justStaticExecutables haskellPackages.hpack; - hugin = callPackage ../applications/graphics/hugin { + hugin = callPackage ../by-name/hu/hugin/package.nix { wxGTK = wxGTK32; };