84 lines
2.3 KiB
Diff
84 lines
2.3 KiB
Diff
From 437bcf5ec44352a643ce4baecb61e2bde2128e8d Mon Sep 17 00:00:00 2001
|
|
From: Gaetan Lepage <gaetan@glepage.com>
|
|
Date: Tue, 3 Dec 2024 08:47:26 +0100
|
|
Subject: [PATCH] handheld-daemon: 3.6.1 -> 3.6.2
|
|
|
|
Diff: https://github.com/hhd-dev/hhd/compare/refs/tags/v3.6.1...v3.6.2
|
|
|
|
Changelog: https://github.com/hhd-dev/hhd/releases/tag/v3.6.2
|
|
---
|
|
pkgs/by-name/ha/handheld-daemon/package.nix | 32 ++++++++++++---------
|
|
1 file changed, 19 insertions(+), 13 deletions(-)
|
|
|
|
diff --git a/pkgs/by-name/ha/handheld-daemon/package.nix b/pkgs/by-name/ha/handheld-daemon/package.nix
|
|
index b99cd1c581476..77c898381a004 100644
|
|
--- a/pkgs/by-name/ha/handheld-daemon/package.nix
|
|
+++ b/pkgs/by-name/ha/handheld-daemon/package.nix
|
|
@@ -1,35 +1,37 @@
|
|
{
|
|
+ lib,
|
|
+ python3Packages,
|
|
fetchFromGitHub,
|
|
+
|
|
+ # dependencies
|
|
hidapi,
|
|
kmod,
|
|
- lib,
|
|
- python3,
|
|
+ lsof,
|
|
toybox,
|
|
- lsof
|
|
}:
|
|
-python3.pkgs.buildPythonApplication rec {
|
|
+python3Packages.buildPythonApplication rec {
|
|
pname = "handheld-daemon";
|
|
- version = "3.6.1";
|
|
+ version = "3.6.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hhd-dev";
|
|
repo = "hhd";
|
|
rev = "refs/tags/v${version}";
|
|
- hash = "sha256-IdpSRb66G+WzTv/BC29r2OjO1b4VdWbV6OSzOoiFAO0=";
|
|
+ hash = "sha256-W1Ap6yTryBDozKe3aO413Fu0RBul9kEA9ACUTdYyOKM=";
|
|
};
|
|
|
|
- propagatedBuildInputs = with python3.pkgs; [
|
|
+ dependencies = with python3Packages; [
|
|
evdev
|
|
hidapi
|
|
kmod
|
|
+ lsof
|
|
+ pyserial
|
|
pyyaml
|
|
rich
|
|
setuptools
|
|
toybox
|
|
xlib
|
|
- pyserial
|
|
- lsof
|
|
];
|
|
|
|
# This package doesn't have upstream tests.
|
|
@@ -52,12 +54,16 @@ python3.pkgs.buildPythonApplication rec {
|
|
install -Dm644 $src/usr/lib/udev/hwdb.d/83-hhd.hwdb -t $out/lib/udev/hwdb.d/
|
|
'';
|
|
|
|
- meta = with lib; {
|
|
+ meta = {
|
|
homepage = "https://github.com/hhd-dev/hhd/";
|
|
description = "Linux support for handheld gaming devices like the Legion Go, ROG Ally, and GPD Win";
|
|
- platforms = platforms.linux;
|
|
- license = licenses.mit;
|
|
- maintainers = with maintainers; [ appsforartists toast ];
|
|
+ platforms = lib.platforms.linux;
|
|
+ changelog = "https://github.com/hhd-dev/hhd/releases/tag/v${version}";
|
|
+ license = lib.licenses.mit;
|
|
+ maintainers = with lib.maintainers; [
|
|
+ appsforartists
|
|
+ toast
|
|
+ ];
|
|
mainProgram = "hhd";
|
|
};
|
|
}
|