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
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user