From 6037953f3ff23038ca660d4dbbbc8055211cab60 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Wed, 18 Oct 2023 00:30:29 +0200 Subject: [PATCH] autosuspend: 4.3.0 -> 6.0.0 https://github.com/languitar/autosuspend/releases/tag/v6.0.0 https://github.com/languitar/autosuspend/releases/tag/v5.0.0 https://github.com/languitar/autosuspend/releases/tag/v4.3.3 https://github.com/languitar/autosuspend/releases/tag/v4.3.2 https://github.com/languitar/autosuspend/releases/tag/v4.3.1 --- pkgs/os-specific/linux/autosuspend/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/autosuspend/default.nix b/pkgs/os-specific/linux/autosuspend/default.nix index e0a4b9a0860d..21cbbf9ef668 100644 --- a/pkgs/os-specific/linux/autosuspend/default.nix +++ b/pkgs/os-specific/linux/autosuspend/default.nix @@ -5,13 +5,15 @@ python3.pkgs.buildPythonApplication rec { pname = "autosuspend"; - version = "4.3.0"; + version = "6.0.0"; + + disabled = python3.pythonOlder "3.8"; src = fetchFromGitHub { owner = "languitar"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-gS8NNks4GaIGl7cEqWSP53I4/tIV4LypkmZ5vNOjspY="; + hash = "sha256-gS8NNks4GaIGl7cEqWSP53I4/tIV4LypkmZ5vNOjspY="; }; postPatch = '' @@ -53,8 +55,10 @@ python3.pkgs.buildPythonApplication rec { meta = with lib ; { description = "A daemon to automatically suspend and wake up a system"; homepage = "https://autosuspend.readthedocs.io"; + changelog = "https://github.com/languitar/autosuspend/releases/tag/v${version}"; license = licenses.gpl2Only; maintainers = [ maintainers.bzizou ]; + mainProgram = "autosuspend"; platforms = platforms.linux; }; }