mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 05:03:40 +00:00
Merge pull request #261737 from anthonyroussel/autosuspend
autosuspend: 4.3.0 -> 6.0.0
This commit is contained in:
commit
4d8c6676ac
@ -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 = ''
|
||||
@ -50,11 +52,13 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib ; {
|
||||
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 ];
|
||||
maintainers = with maintainers; [ bzizou anthonyroussel ];
|
||||
mainProgram = "autosuspend";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user