Flake: add patch to update hhd
This commit is contained in:
parent
cb04535cbf
commit
3ccdbe36c9
2 changed files with 62 additions and 0 deletions
|
|
@ -81,6 +81,7 @@
|
|||
name = "patched-nixpkgs-unstable";
|
||||
src = nixpkgs-unstable-raw;
|
||||
patches = [
|
||||
./nixpkgs-patches/0001-handheld-daemon-1.1.0-2.6.2.patch
|
||||
];
|
||||
};
|
||||
nixpkgs-patched = nixpkgs-raw.legacyPackages.x86_64-linux.applyPatches {
|
||||
|
|
|
|||
61
nixpkgs-patches/0001-handheld-daemon-1.1.0-2.6.2.patch
Normal file
61
nixpkgs-patches/0001-handheld-daemon-1.1.0-2.6.2.patch
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
From d9e4af9ae8ed30a1ab860915c5c0ff9ae0c16dc1 Mon Sep 17 00:00:00 2001
|
||||
From: Toast <39011842+toast003@users.noreply.github.com>
|
||||
Date: Fri, 12 Apr 2024 13:32:24 +0200
|
||||
Subject: [PATCH 1/2] handheld-daemon: 1.1.0 -> 2.6.2
|
||||
|
||||
---
|
||||
pkgs/by-name/ha/handheld-daemon/package.nix | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pkgs/by-name/ha/handheld-daemon/package.nix b/pkgs/by-name/ha/handheld-daemon/package.nix
|
||||
index bb0c9d65bfe19d..b5f25f339ffb60 100644
|
||||
--- a/pkgs/by-name/ha/handheld-daemon/package.nix
|
||||
+++ b/pkgs/by-name/ha/handheld-daemon/package.nix
|
||||
@@ -8,14 +8,14 @@
|
||||
}:
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "handheld-daemon";
|
||||
- version = "1.1.0";
|
||||
+ version = "2.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hhd-dev";
|
||||
repo = "hhd";
|
||||
rev = "v${version}";
|
||||
- hash = "sha256-ovLC1BQ98jUaDEMPBzWma4TYSzTF+yE/cMemFdJmqlE=";
|
||||
+ hash = "sha256-fsH8H6ZhiguOWI2t79GnxqAmqL/1m06RQzs+k8bUWcU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
@@ -26,6 +26,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
rich
|
||||
setuptools
|
||||
toybox
|
||||
+ xlib
|
||||
];
|
||||
|
||||
# This package doesn't have upstream tests.
|
||||
|
||||
From 2a8d54c511bda43bea18d35d2c08f224f3352a18 Mon Sep 17 00:00:00 2001
|
||||
From: Toast <39011842+toast003@users.noreply.github.com>
|
||||
Date: Sat, 13 Apr 2024 15:42:25 +0200
|
||||
Subject: [PATCH 2/2] handheld-daemon: update license
|
||||
|
||||
---
|
||||
pkgs/by-name/ha/handheld-daemon/package.nix | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pkgs/by-name/ha/handheld-daemon/package.nix b/pkgs/by-name/ha/handheld-daemon/package.nix
|
||||
index b5f25f339ffb60..f0ce6e9648e3e8 100644
|
||||
--- a/pkgs/by-name/ha/handheld-daemon/package.nix
|
||||
+++ b/pkgs/by-name/ha/handheld-daemon/package.nix
|
||||
@@ -48,7 +48,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
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;
|
||||
+ license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ appsforartists ];
|
||||
mainProgram = "hhd";
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue