mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
abdf5dc772
It is is now provided automatically, when `pythonRelaxDeps` or `pythonRemoveDeps` is defined through `mk-python-derivation`.
64 lines
1 KiB
Nix
64 lines
1 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=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
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 = "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 ];
|
|
};
|
|
}
|