summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2023-06-05 10:59:03 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-06-07 00:05:10 +0000
commit65606e71eed286b2ab0db041d95b60bde3f985ab (patch)
treec10acc3484c8fd9b05c0471723391da6c2478898
parentelectron_25-bin: init 25.0.1 (diff)
downloadnixpkgs-origin/backport-236058-to-release-23.05.tar.gz
sc-controller: 0.4.8.9 -> 0.4.8.11origin/backport-236058-to-release-23.05
(cherry picked from commit 424d1f9b6c0820138f02d79ec0de97d625acb70d)
-rw-r--r--pkgs/misc/drivers/sc-controller/default.nix13
1 files changed, 2 insertions, 11 deletions
diff --git a/pkgs/misc/drivers/sc-controller/default.nix b/pkgs/misc/drivers/sc-controller/default.nix
index 11663d5d4c44..009e08967453 100644
--- a/pkgs/misc/drivers/sc-controller/default.nix
+++ b/pkgs/misc/drivers/sc-controller/default.nix
@@ -1,6 +1,5 @@
{ lib, buildPythonApplication, fetchFromGitHub, wrapGAppsHook
, pytestCheckHook
-, fetchpatch
, gtk3, gobject-introspection, libappindicator-gtk3, librsvg
, evdev, pygobject3, pylibacl, bluez, vdf
, linuxHeaders
@@ -9,13 +8,13 @@
buildPythonApplication rec {
pname = "sc-controller";
- version = "0.4.8.9";
+ version = "0.4.8.11";
src = fetchFromGitHub {
owner = "Ryochan7";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-ym5fkOTRhibBaUqT0+p/jyqqKOVsyMz5INgfkoz0IJA=";
+ sha256 = "xu9QqddJf0cXkhNPrOnE+L8CV5AfgcCyk9DSh+G94c0=";
};
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
@@ -26,14 +25,6 @@ buildPythonApplication rec {
nativeCheckInputs = [ pytestCheckHook ];
- patches = [
- # Fix a broken test
- (fetchpatch {
- url = "https://github.com/Ryochan7/sc-controller/pull/73.patch";
- sha256 = "sha256-qU8hIReZE3cEPCMOFc4RCUCIhiS0gJ3PushMkfDlPns=";
- })
- ];
-
postPatch = ''
substituteInPlace scc/paths.py --replace sys.prefix "'$out'"
substituteInPlace scc/uinput.py --replace /usr/include ${linuxHeaders}/include