dotfiles/packages/proton-ge-custom/default.nix
2024-02-08 18:49:14 -08:00

21 lines
414 B
Nix

{
stdenv,
lib,
fetchurl,
...
}:
stdenv.mkDerivation rec {
pname = "proton-ge-custom";
version = "GE-Proton8-30";
src = fetchurl {
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/${version}.tar.gz";
sha256 = "sha256-jt7snuw3rH2pnB70tRkuUCjvu4UF9tYUQOjTCHjYKXY=";
};
buildCommand = ''
mkdir -p $out
tar -C $out --strip=1 -x -f $src
'';
}