Merge pull request #234094 from Enzime/fix/syncplay-linux
syncplay: fix `TypeError` on Linux
This commit is contained in:
commit
75f19a3d63
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue