Unverified Commit d78b02f3 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

handheld-daemon: 3.4.1 -> 3.6.1 (#359282)

parents 071feeb7 efc13017
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -5,17 +5,18 @@
  lib,
  python3,
  toybox,
  lsof
}:
python3.pkgs.buildPythonApplication rec {
  pname = "handheld-daemon";
  version = "3.4.1";
  version = "3.6.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "hhd-dev";
    repo = "hhd";
    rev = "refs/tags/v${version}";
    hash = "sha256-hup9G4pTlTl68zLzhaDmH7nV8fp/I94Nuis68B8K2wY=";
    hash = "sha256-IdpSRb66G+WzTv/BC29r2OjO1b4VdWbV6OSzOoiFAO0=";
  };

  propagatedBuildInputs = with python3.pkgs; [
@@ -27,6 +28,8 @@ python3.pkgs.buildPythonApplication rec {
    setuptools
    toybox
    xlib
    pyserial
    lsof
  ];

  # This package doesn't have upstream tests.
@@ -46,6 +49,7 @@ python3.pkgs.buildPythonApplication rec {

  postInstall = ''
    install -Dm644 $src/usr/lib/udev/rules.d/83-hhd.rules -t $out/lib/udev/rules.d/
    install -Dm644 $src/usr/lib/udev/hwdb.d/83-hhd.hwdb -t $out/lib/udev/hwdb.d/
  '';

  meta = with lib; {