Skip to content

Commit

Permalink
feat: add proton-ge-custom
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwjackson committed Dec 17, 2024
1 parent f5dde97 commit c1d7a62
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions packages/proton-ge-custom/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
stdenv,
lib,
fetchurl,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "proton-ge-custom";
version = "GE-Proton9-21";

src = fetchurl {
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/${version}.tar.gz";
hash = "sha256-91UwM1/vtteZQsIerdIclPUiGArlidtVs8o/IWbpSwQ=";
};

buildCommand = ''
runHook preBuild
mkdir -p $out/bin
tar -C $out/bin --strip=1 -x -f $src
runHook postBuild
'';

passthru.updateScript = nix-update-script {};

meta = with lib; {
description = "Compatibility tool for Steam Play based on Wine and additional components";
homepage = "https://github.com/GloriousEggroll/proton-ge-custom";
license = licenses.bsd3;
platforms = ["x86_64-linux"];
maintainers = with maintainers; [ataraxiasjel];
preferLocalBuild = true;
};
}

0 comments on commit c1d7a62

Please sign in to comment.