handheld-daemon: 3.18.5 -> 3.19.22 (#453535)
This commit is contained in:
@@ -18,14 +18,14 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "handheld-daemon";
|
||||
version = "3.18.5";
|
||||
version = "3.19.22";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hhd-dev";
|
||||
repo = "hhd";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-T/0qKHF/BmVtVO19pd4/iqIZP1/G7iayDzHdhjRIA7U=";
|
||||
hash = "sha256-mvIB2lgFaHMCGEshKvagOFUrvcgEbyUS9VXJpXbvzTs=";
|
||||
};
|
||||
|
||||
# Handheld-daemon runs some selinux-related utils which are not in nixpkgs.
|
||||
@@ -51,7 +51,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
substituteInPlace src/hhd/plugins/power/power.py \
|
||||
--replace-fail '"efibootmgr"' '"${lib.getExe' efibootmgr "id"}"' \
|
||||
--replace-fail '"systemctl"' '"${lib.getExe' systemd "systemctl"}"' \
|
||||
--replace-fail '"systemctl' '"${lib.getExe' systemd "systemctl"}' \
|
||||
--replace-fail '"stat"' '"${lib.getExe' coreutils "stat"}"' \
|
||||
--replace-fail '"swapon"' '"${lib.getExe' util-linux "swapon"}"' \
|
||||
--replace-fail '"swapoff"' '"${lib.getExe' util-linux "swapoff"}"' \
|
||||
|
||||
Reference in New Issue
Block a user