diff options
author | Cosima Neidahl <opna2608@protonmail.com> | 2024-01-28 22:27:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 22:27:00 +0100 |
commit | 18d5f603d2361ac9e711b3212013969331bc8846 (patch) | |
tree | 920edfb9e131ec21faf47e55246e0f21063856e6 /pkgs | |
parent | 804c952399902e210ca8a0505ddc18e1eb34f17a (diff) | |
parent | 0abe7e75d23e2c460034cf40a73527239444ec9d (diff) |
Merge pull request #284124 from r-ryantm/auto-update/rmg
rmg: 0.5.5 -> 0.5.7
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/rm/rmg/package.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/by-name/rm/rmg/package.nix b/pkgs/by-name/rm/rmg/package.nix index 09a774b1f4821..8c6f22ea1bed0 100644 --- a/pkgs/by-name/rm/rmg/package.nix +++ b/pkgs/by-name/rm/rmg/package.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , boost , cmake , discord-rpc @@ -26,15 +27,25 @@ let in stdenv.mkDerivation rec { pname = "rmg"; - version = "0.5.5"; + version = "0.5.7"; src = fetchFromGitHub { owner = "Rosalie241"; repo = "RMG"; rev = "v${version}"; - hash = "sha256-au5GDyfW9+drkDNBWNbPY5Bgbow/hQmvP5pWJsYKbYs="; + hash = "sha256-j3OVhcTGUXPC0+AqvAJ7+mc+IFqJeBITU99pvfXIunQ="; }; + patches = [ + # Fix bad concatenation of CMake GNUInstallDirs variables, causing broken asset lookup paths + # Remove when version > 0.5.7 + (fetchpatch { + name = "0001-rmg-Fix-GNUInstallDirs-usage.patch"; + url = "https://github.com/Rosalie241/RMG/commit/685aa597c7ee7ad7cfd4dd782f40d21863b75899.patch"; + hash = "sha256-HnaxUAX+3Z/VTtYYuhoXOtsDtV61nskgyzEcp8fdBsU="; + }) + ]; + nativeBuildInputs = [ cmake nasm |