8 python3.pkgs.buildPythonApplication rec {
13 disabled = python3.pythonOlder "3.10";
15 src = fetchFromGitHub {
18 rev = "refs/tags/v${version}";
19 hash = "sha256-ePQiP7NeRBPVHkd8rvbxno/NBX95e9d97F8TIazCUH4=";
22 build-system = with python3.pkgs; [
26 dependencies = with python3.pkgs; [
41 nativeCheckInputs = with python3.pkgs; [
52 # Disable tests that need root
55 "test_multiple_sessions"
61 description = "Daemon to automatically suspend and wake up a system";
62 homepage = "https://autosuspend.readthedocs.io";
63 changelog = "https://github.com/languitar/autosuspend/releases/tag/v${version}";
64 license = licenses.gpl2Only;
65 maintainers = with maintainers; [
69 mainProgram = "autosuspend";
70 platforms = platforms.linux;