Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
1.3 KiB
Nix

{
fetchFromGitHub,
stdenvNoCC,
lib,
bash,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "steam-play-none";
version = "0-unstable-2022-12-15";
src = fetchFromGitHub {
owner = "Scrumplex";
repo = "steam-play-none";
rev = "42e38706eb37fdaaedbe9951d59ef44148fcacbf";
hash = "sha256-sSHLrB5TlGMKpztTnbh5oIOhcrRd+ke2OUUbiQUqoh0=";
};
buildInputs = [ bash ];
strictDeps = true;
outputs = [
"out"
"steamcompattool"
];
installPhase = ''
runHook preInstall
# Make it impossible to add to an environment. You should use the appropriate NixOS option.
# Also leave some breadcrumbs in the file.
echo "${finalAttrs.pname} should not be installed into environments. Please use programs.steam.extraCompatPackages instead." > $out
install -Dt $steamcompattool compatibilitytool.vdf toolmanifest.vdf
install -Dt $steamcompattool -m755 launch.sh
runHook postInstall
'';
meta = {
description = ''
Steam Play Compatibility Tool to run games as-is
(This is intended for use in the `programs.steam.extraCompatPackages` option only.)
'';
homepage = "https://github.com/Scrumplex/Steam-Play-None";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [
matthewcroughan
Scrumplex
];
platforms = [ "x86_64-linux" ];
};
})