6 stdenvNoCC.mkDerivation (finalAttrs: {
7 pname = "steam-play-none";
8 version = "0-unstable-2022-12-15";
9 src = fetchFromGitHub {
11 repo = "steam-play-none";
12 rev = "42e38706eb37fdaaedbe9951d59ef44148fcacbf";
13 hash = "sha256-sSHLrB5TlGMKpztTnbh5oIOhcrRd+ke2OUUbiQUqoh0=";
15 buildInputs = [ bash ];
17 outputs = [ "out" "steamcompattool" ];
21 # Make it impossible to add to an environment. You should use the appropriate NixOS option.
22 # Also leave some breadcrumbs in the file.
23 echo "${finalAttrs.pname} should not be installed into environments. Please use programs.steam.extraCompatPackages instead." > $out
25 install -Dt $steamcompattool compatibilitytool.vdf toolmanifest.vdf
26 install -Dt $steamcompattool -m755 launch.sh
33 Steam Play Compatibility Tool to run games as-is
35 (This is intended for use in the `programs.steam.extraCompatPackages` option only.)
37 homepage = "https://github.com/Scrumplex/Steam-Play-None";
38 license = lib.licenses.cc0;
39 maintainers = with lib.maintainers; [ matthewcroughan Scrumplex ];
40 platforms = [ "x86_64-linux" ];