syncplay: fix TypeError on Linux

(cherry picked from commit 0aa72aa8c2)
This commit is contained in:
Michael Hoang
2023-05-26 09:32:37 +10:00
committed by github-actions[bot]
parent a0135679f4
commit 04db6fa39a

View File

@@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, buildPythonApplication
, fetchpatch
, pyside6
, twisted
, certifi
@@ -23,6 +24,14 @@ buildPythonApplication rec {
sha256 = "sha256-Te81yOv3D6M6aMfC5XrM6/I6BlMdlY1yRk1RRJa9Mxg=";
};
patches = [
(fetchpatch {
name = "fix-typeerror.patch";
url = "https://github.com/Syncplay/syncplay/commit/b62b038cdf58c54205987dfc52ebf228505ad03b.patch";
hash = "sha256-pSP33Qn1I+nJBW8T1E1tSJKRh5OnZMRsbU+jr5z4u7c=";
})
];
buildInputs = lib.optionals enableGUI [ (if stdenv.isLinux then qt6.qtwayland else qt6.qtbase) ];
propagatedBuildInputs = [ twisted certifi ]
++ twisted.optional-dependencies.tls