Merge pull request #231659 from AngryAnt/steamback/init
This commit is contained in:
commit
4f800142c3
61
pkgs/tools/games/steamback/default.nix
Normal file
61
pkgs/tools/games/steamback/default.nix
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonApplication
|
||||||
|
, fetchPypi
|
||||||
|
, pythonRelaxDepsHook
|
||||||
|
, setuptools
|
||||||
|
, pillow
|
||||||
|
, psutil
|
||||||
|
, async-tkinter-loop
|
||||||
|
, timeago
|
||||||
|
, platformdirs
|
||||||
|
, sv-ttk
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "steamback";
|
||||||
|
version = "0.3.6";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-hvMPSxIfwwQqo80JCpYhcbVY4kXs5jWtjjafVSMrw6o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pythonRelaxDepsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
setuptools
|
||||||
|
pillow
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
psutil
|
||||||
|
async-tkinter-loop
|
||||||
|
timeago
|
||||||
|
platformdirs
|
||||||
|
sv-ttk
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonRelaxDeps = [
|
||||||
|
"async-tkinter-loop"
|
||||||
|
"platformdirs"
|
||||||
|
"Pillow"
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
|
||||||
|
$out/bin/${pname} --help
|
||||||
|
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Decky plugin to add versioned save-game snapshots to Steam-cloud enabled games";
|
||||||
|
homepage = "https://github.com/geeksville/steamback";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ AngryAnt ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -37485,6 +37485,8 @@ with pkgs;
|
||||||
|
|
||||||
steam-acf = callPackage ../tools/games/steam-acf { };
|
steam-acf = callPackage ../tools/games/steam-acf { };
|
||||||
|
|
||||||
|
steamback = python311.pkgs.callPackage ../tools/games/steamback { };
|
||||||
|
|
||||||
protontricks = python3Packages.callPackage ../tools/package-management/protontricks {
|
protontricks = python3Packages.callPackage ../tools/package-management/protontricks {
|
||||||
inherit winetricks steam-run yad;
|
inherit winetricks steam-run yad;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue