depot/third_party/nixpkgs/pkgs/tools/games/steamback/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

65 lines
1.1 KiB
Nix

{ lib
, buildPythonApplication
, fetchPypi
, pythonRelaxDepsHook
, setuptools
, setuptools-scm
, wheel
, 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
setuptools-scm
wheel
];
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 ];
};
}