Unverified Commit 6213355d authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

handheld-daemon: 3.18.5 -> 3.19.22 (#453535)

parents 384eb1f4 f6286c10
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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"}"' \