Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
74 lines
1.2 KiB
Nix
74 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchPypi,
|
|
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=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
buildInputs = [
|
|
setuptools
|
|
pillow
|
|
];
|
|
|
|
dependencies = [
|
|
psutil
|
|
async-tkinter-loop
|
|
timeago
|
|
platformdirs
|
|
sv-ttk
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"async-tkinter-loop"
|
|
"platformdirs"
|
|
"Pillow"
|
|
"psutil"
|
|
];
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
|
|
$out/bin/steamback --help
|
|
|
|
runHook postCheck
|
|
'';
|
|
|
|
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 = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ AngryAnt ];
|
|
};
|
|
}
|