diff options
author | sheepforce <phillip.seeber@googlemail.com> | 2023-07-17 00:12:09 +0200 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-01 11:12:10 +0000 |
commit | ab6fef15e09ce7d3592d0e59e89dac341f96b514 (patch) | |
tree | fa7b362333954ab546ecb570aa55199e78c8e2ab /pkgs/applications/science/astronomy | |
parent | 63b07e8d665b04ac22487761c01588f8ef31bda0 (diff) |
stellarium: add patch for indi 2.0 compatibility
Diffstat (limited to 'pkgs/applications/science/astronomy')
-rw-r--r-- | pkgs/applications/science/astronomy/stellarium/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/science/astronomy/stellarium/default.nix b/pkgs/applications/science/astronomy/stellarium/default.nix index f2ecbbd85d4c4..00b36de280891 100644 --- a/pkgs/applications/science/astronomy/stellarium/default.nix +++ b/pkgs/applications/science/astronomy/stellarium/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , cmake , perl , wrapGAppsHook @@ -30,6 +31,14 @@ stdenv.mkDerivation rec { hash = "sha256-8Iheb/9wjf0u10ZQRkLMLNN2s7P++Fqcr26iatiKcTo="; }; + patches = [ + # Compatibility with INDI 2.0 series from https://github.com/Stellarium/stellarium/pull/3269 + (fetchpatch { + url = "https://github.com/Stellarium/stellarium/commit/31fd7bebf33fa710ce53ac8375238a24758312bc.patch"; + hash = "sha256-eJEqqitZgtV6noeCi8pDBYMVTFIVWXZU1fiEvoilX8o="; + }) + ]; + postPatch = lib.optionalString stdenv.isDarwin '' substituteInPlace CMakeLists.txt \ --replace 'SET(CMAKE_INSTALL_PREFIX "''${PROJECT_BINARY_DIR}/Stellarium.app/Contents")' \ |