From 96807bab30963db67158242183cf8f207785969c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 28 Nov 2022 07:59:33 -0800 Subject: [PATCH] streamdeck-ui: use poetry-core --- pkgs/applications/misc/streamdeck-ui/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/streamdeck-ui/default.nix b/pkgs/applications/misc/streamdeck-ui/default.nix index be98b3713867..a1179417719b 100644 --- a/pkgs/applications/misc/streamdeck-ui/default.nix +++ b/pkgs/applications/misc/streamdeck-ui/default.nix @@ -1,7 +1,7 @@ { lib , python3Packages , fetchFromGitHub -, poetry +, fetchpatch , copyDesktopItems , wrapQtAppsHook , writeText @@ -20,6 +20,14 @@ python3Packages.buildPythonApplication rec { sha256 = "sha256-5dk+5oefg5R68kv038gsZ2p5ixmpj/vBLBp/V7Sdos8="; }; + patches = [ + (fetchpatch { + name = "use-poetry-core.patch"; + url = "https://github.com/timothycrosley/streamdeck-ui/commit/e271656c1f47b1619d1b942e2ebb01ab2d6a68a9.patch"; + hash = "sha256-wqYwX6eSqMnW6OG7wSprD62Dz818ayFduVrqW9E/ays="; + }) + ]; + desktopItems = [ (makeDesktopItem { name = "streamdeck-ui"; desktopName = "Stream Deck UI"; @@ -50,7 +58,7 @@ python3Packages.buildPythonApplication rec { format = "pyproject"; nativeBuildInputs = [ - poetry + python3Packages.poetry-core copyDesktopItems wrapQtAppsHook ];