1 { stdenv, lib, qt6, fetchFromGitHub, cmake, pkg-config, jsoncpp, readline }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-m2lVRSNaklB0Xfqgtyc0lNWXfTD8wTWsE06eGv4FOBE=";
14 nativeBuildInputs = [ qt6.wrapQtAppsHook cmake pkg-config ];
15 buildInputs = [ qt6.qtbase qt6.qttools qt6.qtwayland jsoncpp readline ];
18 find . -type f -exec sed -i "s|/opt/med|$out/share/med|g" {} +
22 description = "GUI game memory scanner and editor";
23 homepage = "https://github.com/allencch/med";
24 changelog = "https://github.com/allencch/med/releases/tag/${version}";
25 maintainers = with maintainers; [ zebreus ];
26 platforms = platforms.linux;
27 license = licenses.bsd3;