dotfiles/packages/proton-ge-custom/default.nix

21 lines
414 B
Nix
Raw Normal View History

2023-08-06 17:00:47 +00:00
{
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
'';
}