steamback: unbreak and modernize (#403683)

This commit is contained in:
Aleksana
2025-05-03 18:47:17 +08:00
committed by GitHub
+14 -6
View File
@@ -23,7 +23,7 @@ buildPythonApplication rec {
hash = "sha256-hvMPSxIfwwQqo80JCpYhcbVY4kXs5jWtjjafVSMrw6o=";
};
nativeBuildInputs = [
build-system = [
setuptools-scm
wheel
];
@@ -33,7 +33,7 @@ buildPythonApplication rec {
pillow
];
propagatedBuildInputs = [
dependencies = [
psutil
async-tkinter-loop
timeago
@@ -45,21 +45,29 @@ buildPythonApplication rec {
"async-tkinter-loop"
"platformdirs"
"Pillow"
"psutil"
];
checkPhase = ''
runHook preCheck
$out/bin/${pname} --help
$out/bin/steamback --help
runHook postCheck
'';
meta = with lib; {
pythonImportsCheck = [
"steamback"
"steamback.gui"
"steamback.test"
"steamback.util"
];
meta = {
description = "Decky plugin to add versioned save-game snapshots to Steam-cloud enabled games";
mainProgram = "steamback";
homepage = "https://github.com/geeksville/steamback";
license = licenses.gpl3;
maintainers = with maintainers; [ AngryAnt ];
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ AngryAnt ];
};
}