21 lines
414 B
Nix
21 lines
414 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
...
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "proton-ge-custom";
|
|
version = "GE-Proton8-11";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/${version}.tar.gz";
|
|
sha256 = "sha256-ldJBwp/9Cjb5k9FBrc6iz4/rnMhU5Ayf35+kNTAvXCg=";
|
|
};
|
|
|
|
buildCommand = ''
|
|
mkdir -p $out
|
|
tar -C $out --strip=1 -x -f $src
|
|
'';
|
|
}
|