Unverified Commit 6bf4d736 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

autosuspend: 9.0.1 -> 10.0.0

Notable upstream changes:
* The presuspend SystemD unit has been removed

Diff: https://github.com/languitar/autosuspend/compare/v9.0.1...v10.0.0

Changelog: https://github.com/languitar/autosuspend/releases/tag/v10.0.0
parent 531cbe05
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -235,16 +235,6 @@ in
        ExecStart = "${autosuspend}/bin/autosuspend -l ${autosuspend}/etc/autosuspend-logging.conf -c ${autosuspend-conf} daemon";
      };
    };

    systemd.services.autosuspend-detect-suspend = {
      description = "Notifies autosuspend about suspension";
      documentation = [ "https://autosuspend.readthedocs.io/en/latest/systemd_integration.html" ];
      wantedBy = [ "sleep.target" ];
      after = [ "sleep.target" ];
      serviceConfig = {
        ExecStart = "${autosuspend}/bin/autosuspend -l ${autosuspend}/etc/autosuspend-logging.conf -c ${autosuspend-conf} presuspend";
      };
    };
  };

  meta = {
+3 −3
Original line number Diff line number Diff line
@@ -7,14 +7,14 @@

python3.pkgs.buildPythonApplication (finalAttrs: {
  pname = "autosuspend";
  version = "9.0.1";
  version = "10.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "languitar";
    repo = "autosuspend";
    tag = "v${finalAttrs.version}";
    hash = "sha256-PVxsdCPGu+bhjfAF5Hu4Xa3lETARitbBUKuy7ursAUE=";
    hash = "sha256-o9Jpb4i2/SJ3s3h5sclNjpaN/UFk1YbpPf7b3rGXLRg=";
  };

  build-system = with python3.pkgs; [
@@ -27,8 +27,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    jsonpath-ng
    lxml
    mpd2
    portalocker
    psutil
    pygobject3
    python-dateutil
    requests
    requests-file