feat(protonhax): use latest release instead of latest git

This commit is contained in:
matt1432 2025-02-11 14:29:23 -05:00
parent e7e04fa569
commit c25978aaa8
6 changed files with 30 additions and 51 deletions
packages/protonhax

View file

@ -1,26 +1,32 @@
{
# nix build inputs
lib,
mkVersion,
stdenv,
protonhax-src,
fetchFromGitHub,
...
}:
stdenv.mkDerivation {
}: let
pname = "protonhax";
version = mkVersion protonhax-src;
version = "1.0.5";
in
stdenv.mkDerivation {
inherit pname version;
src = protonhax-src;
src = fetchFromGitHub {
owner = "jcnils";
repo = "protonhax";
rev = version;
hash = "sha256-5G4MCWuaF/adSc9kpW/4oDWFFRpviTKMXYAuT2sFf9w=";
};
installPhase = ''
install -Dt $out/bin -m755 protonhax
'';
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.
installPhase = ''
install -Dt $out/bin -m755 protonhax
'';
};
}
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.
'';
};
}