32 lines
807 B
Nix
Raw Normal View History

2023-03-27 15:59:04 +03:00
{ stdenv
, lib
, fetchurl
, writeScript
,
}:
stdenv.mkDerivation rec {
name = "proton-ge-custom";
2023-05-13 01:01:57 +03:00
version = "GE-Proton8-3";
2023-03-27 15:59:04 +03:00
src = fetchurl {
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/${version}.tar.gz";
2023-05-13 01:01:57 +03:00
sha256 = "sha256-JYGwb0LhIs6B2/OHiU+mJ/dAAS+Dg+MrVksAsn6IS9g=";
2023-03-27 15:59:04 +03:00
};
passthru.runUpdate = true;
# passthru.updateScript = ./update.sh;
buildCommand = ''
mkdir -p $out/bin
tar -C $out/bin --strip=1 -x -f $src
'';
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 ];
};
}