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
, 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
];