2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
2023-08-22 20:05:09 +00:00
|
|
|
, setuptools-scm
|
|
|
|
, wheel
|
2023-07-15 17:15:38 +00:00
|
|
|
, 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 = [
|
2023-08-22 20:05:09 +00:00
|
|
|
setuptools-scm
|
|
|
|
wheel
|
2023-07-15 17:15:38 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Decky plugin to add versioned save-game snapshots to Steam-cloud enabled games";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "steamback";
|
2023-07-15 17:15:38 +00:00
|
|
|
homepage = "https://github.com/geeksville/steamback";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ AngryAnt ];
|
|
|
|
};
|
|
|
|
}
|