Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
933 B
Nix
50 lines
933 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
qt6,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
jsoncpp,
|
|
readline,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "med";
|
|
version = "3.10.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "allencch";
|
|
repo = "med";
|
|
rev = version;
|
|
hash = "sha256-m2lVRSNaklB0Xfqgtyc0lNWXfTD8wTWsE06eGv4FOBE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qt6.wrapQtAppsHook
|
|
cmake
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
qt6.qttools
|
|
qt6.qtwayland
|
|
jsoncpp
|
|
readline
|
|
];
|
|
|
|
postPatch = ''
|
|
find . -type f -exec sed -i "s|/opt/med|$out/share/med|g" {} +
|
|
'';
|
|
|
|
meta = {
|
|
description = "GUI game memory scanner and editor";
|
|
homepage = "https://github.com/allencch/med";
|
|
changelog = "https://github.com/allencch/med/releases/tag/${version}";
|
|
maintainers = with lib.maintainers; [ zebreus ];
|
|
platforms = lib.platforms.linux;
|
|
license = lib.licenses.bsd3;
|
|
mainProgram = "med";
|
|
};
|
|
}
|