Commit 92b7a63b authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

steamback: modernize

parent e1ccec0d
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
@@ -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
@@ -51,16 +51,23 @@ buildPythonApplication rec {
  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 ];
  };
}