From 55d806ceed0b75c6bfa520020d0300e7b00c7d83 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 23 Jun 2025 22:02:10 +0000 Subject: [PATCH] autosuspend: 7.2.0 -> 8.0.0 Diff: https://github.com/languitar/autosuspend/compare/v7.2.0...v8.0.0 Release: https://github.com/languitar/autosuspend/releases/tag/v8.0.0 --- pkgs/by-name/au/autosuspend/package.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/au/autosuspend/package.nix b/pkgs/by-name/au/autosuspend/package.nix index 7b3a05412b2e..de1f824d1840 100644 --- a/pkgs/by-name/au/autosuspend/package.nix +++ b/pkgs/by-name/au/autosuspend/package.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "autosuspend"; - version = "7.2.0"; + version = "8.0.0"; pyproject = true; disabled = python3.pythonOlder "3.10"; @@ -16,7 +16,7 @@ python3.pkgs.buildPythonApplication rec { owner = "languitar"; repo = "autosuspend"; tag = "v${version}"; - hash = "sha256-of2b5K4ccONPGZfUwEIoFs86xLM2aLCV8tVGxVqykiQ="; + hash = "sha256-ikFZTSYWjl0QGvVAlcMVANCTwcxWN5fkrcK4iQ/QFok="; }; build-system = with python3.pkgs; [ @@ -32,9 +32,9 @@ python3.pkgs.buildPythonApplication rec { portalocker psutil python-dateutil - pytz requests requests-file + tzdata tzlocal ]; @@ -55,18 +55,16 @@ python3.pkgs.buildPythonApplication rec { "test_multiple_sessions" ]; - doCheck = true; - - meta = with lib; { + meta = { description = "Daemon to automatically suspend and wake up a system"; homepage = "https://autosuspend.readthedocs.io"; changelog = "https://github.com/languitar/autosuspend/releases/tag/${src.tag}"; - license = licenses.gpl2Only; - maintainers = with maintainers; [ + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ bzizou anthonyroussel ]; mainProgram = "autosuspend"; - platforms = platforms.linux; + platforms = lib.platforms.linux; }; }