celestia: unpin autotools (#428329)

This commit is contained in:
Nick Cao
2025-07-27 10:44:03 -04:00
committed by GitHub
2 changed files with 13 additions and 1 deletions
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
pkg-config,
libglut,
gtk2,
@@ -27,6 +28,18 @@ stdenv.mkDerivation rec {
sha256 = "sha256-MkElGo1ZR0ImW/526QlDE1ePd+VOQxwkX7l+0WyZ6Vs=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/CelestiaProject/Celestia/commit/94894bed3bf98d41c5097e7829d491d8ff8d4a62.patch?full_index=1";
hash = "sha256-hEZ6BhSEx6Qm+fLisc63xSCDT6GX92AHD0BuldOhzFk=";
})
];
postPatch = ''
substituteInPlace configure.ac \
--replace-fail "dnl AM_GNU_GETTEXT_VERSION([0.15])" "AM_GNU_GETTEXT_VERSION([0.15])"
'';
nativeBuildInputs = [
pkg-config
autoreconfHook
-1
View File
@@ -15692,7 +15692,6 @@ with pkgs;
boinc-headless = callPackage ../applications/science/misc/boinc { headless = true; };
celestia = callPackage ../applications/science/astronomy/celestia {
autoreconfHook = buildPackages.autoreconfHook269;
inherit (gnome2) gtkglext;
};