2024-07-27 15:22:55 -04:00
|
|
|
{
|
2025-02-11 13:05:14 -05:00
|
|
|
# nix build inputs
|
2025-01-20 15:06:16 -05:00
|
|
|
lib,
|
2024-07-27 15:22:55 -04:00
|
|
|
stdenv,
|
2025-02-11 14:29:23 -05:00
|
|
|
fetchFromGitHub,
|
2024-07-27 15:22:55 -04:00
|
|
|
...
|
2025-02-11 14:29:23 -05:00
|
|
|
}: let
|
2024-07-27 15:22:55 -04:00
|
|
|
pname = "protonhax";
|
2025-02-11 14:29:23 -05:00
|
|
|
version = "1.0.5";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit pname version;
|
2024-07-27 15:22:55 -04:00
|
|
|
|
2025-02-11 14:29:23 -05:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jcnils";
|
|
|
|
repo = "protonhax";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-5G4MCWuaF/adSc9kpW/4oDWFFRpviTKMXYAuT2sFf9w=";
|
|
|
|
};
|
2024-07-27 15:22:55 -04:00
|
|
|
|
2025-02-11 14:29:23 -05:00
|
|
|
installPhase = ''
|
|
|
|
install -Dt $out/bin -m755 protonhax
|
2025-02-11 13:05:14 -05:00
|
|
|
'';
|
2025-02-11 14:29:23 -05:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [bsd3];
|
|
|
|
homepage = "https://github.com/jcnils/protonhax";
|
|
|
|
description = ''
|
|
|
|
Tool to help running other programs (i.e. Cheat Engine) inside Steam's proton.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|