streamdeck-ui: use poetry-core

This commit is contained in:
Robert Schütz 2022-11-28 07:59:33 -08:00 committed by Robert Schütz
parent 84ed05ea4c
commit 96807bab30

View file

@ -1,7 +1,7 @@
{ lib { lib
, python3Packages , python3Packages
, fetchFromGitHub , fetchFromGitHub
, poetry , fetchpatch
, copyDesktopItems , copyDesktopItems
, wrapQtAppsHook , wrapQtAppsHook
, writeText , writeText
@ -20,6 +20,14 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-5dk+5oefg5R68kv038gsZ2p5ixmpj/vBLBp/V7Sdos8="; 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 { desktopItems = [ (makeDesktopItem {
name = "streamdeck-ui"; name = "streamdeck-ui";
desktopName = "Stream Deck UI"; desktopName = "Stream Deck UI";
@ -50,7 +58,7 @@ python3Packages.buildPythonApplication rec {
format = "pyproject"; format = "pyproject";
nativeBuildInputs = [ nativeBuildInputs = [
poetry python3Packages.poetry-core
copyDesktopItems copyDesktopItems
wrapQtAppsHook wrapQtAppsHook
]; ];